From 285a6288eefffc0a02362ca120e7258b695b7df8 Mon Sep 17 00:00:00 2001 From: Harry Yu Date: Wed, 6 Dec 2023 21:00:04 -0800 Subject: [PATCH] Fix stash search shortcuts for Mac --- main/src/shortcuts/text-box.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/shortcuts/text-box.ts b/main/src/shortcuts/text-box.ts index 1479b3d06..88e8b1b39 100644 --- a/main/src/shortcuts/text-box.ts +++ b/main/src/shortcuts/text-box.ts @@ -59,7 +59,7 @@ export function stashSearch ( overlay.assertGameActive() clipboard.writeText(text) uIOhook.keyTap(Key.F, [Key.Ctrl]) - uIOhook.keyTap(Key.V, [Key.Ctrl]) + uIOhook.keyTap(Key.V, [process.platform === 'darwin' ? Key.Meta : Key.Ctrl]) uIOhook.keyTap(Key.Enter) }) }