authorgravatar for 75276669+Gigioxx@users.noreply.github.comGuillermo Casanova <75276669+Gigioxx@users.noreply.github.com> 2026-09-24 00:35:15-03:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-24 00:35:15-03:00
log6b4b19096a7ea22fe0850972df4bce5a5a6c8263
treed2d67f9f215e25597f7d4b70c3add280b2562679
parentc0912debcb14895c1d907738094d4e997eb51572
signature Signed by PGP key B5690EEEBB952194

fix(desktop): SnapShot shortcut helper no longer adds a Dock icon on macOS (#13286)


1 files changed, 4 insertions(+), 0 deletions(-)

apps/desktop/src/snapShot/MacModifierPairShortcutProcess.ts+4
...@@ -11,7 +11,11 @@ const MAC_MODIFIER_PAIR_DEVICE_MASKS: Record<SnapShotModifier, readonly [number,...@@ -11,7 +11,11 @@ const MAC_MODIFIER_PAIR_DEVICE_MASKS: Record<SnapShotModifier, readonly [number,
11 meta: [0x8, 0x10],11 meta: [0x8, 0x10],
12};12};
1313
14// The CoreGraphics query connects osascript to the window server, which registers it as a
15// foreground app attributed to T3 Code. Go background-only first so it never gets a Dock tile.
14const POLLER_SCRIPT = `16const POLLER_SCRIPT = `
17ObjC.import("AppKit");
18$.NSApplication.sharedApplication.setActivationPolicy($.NSApplicationActivationPolicyProhibited);
15ObjC.import("CoreGraphics");19ObjC.import("CoreGraphics");
16ObjC.import("unistd");20ObjC.import("unistd");
17function run(argv) {21function run(argv) {