From a9d9c3ac4e51fa6273f1ca1baa9e4634d6aa6c96 Mon Sep 17 00:00:00 2001 From: Jeremy Smitherman Date: Thu, 12 Feb 2026 12:34:14 -0600 Subject: [PATCH 1/2] Changed hotkey tap to be passive for darwin --- frontend/.idea/workspace.xml | 86 ++++++++++++++++++++++++++++++++ hotkeys/darwin/provider_darwin.m | 2 +- 2 files changed, 87 insertions(+), 1 deletion(-) create mode 100644 frontend/.idea/workspace.xml diff --git a/frontend/.idea/workspace.xml b/frontend/.idea/workspace.xml new file mode 100644 index 0000000..8384ed4 --- /dev/null +++ b/frontend/.idea/workspace.xml @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1770860806828 + + + + + + \ No newline at end of file diff --git a/hotkeys/darwin/provider_darwin.m b/hotkeys/darwin/provider_darwin.m index efad784..ca7f865 100644 --- a/hotkeys/darwin/provider_darwin.m +++ b/hotkeys/darwin/provider_darwin.m @@ -123,7 +123,7 @@ static CGEventRef tapCallback(CGEventTapProxy proxy, CGEventType type, CGEventRe CGEventMask mask = (CGEventMaskBit(kCGEventKeyDown)); gEventTap = CGEventTapCreate(kCGSessionEventTap, kCGHeadInsertEventTap, - kCGEventTapOptionDefault, mask, tapCallback, NULL); + kCGEventTapOptionListenOnly, mask, tapCallback, NULL); if (!gEventTap) { pthread_mutex_lock(&gMu); gRunning = false; From f4d08f1759ef46684f6cb7422cf06d1f79596baf Mon Sep 17 00:00:00 2001 From: Jeremy Smitherman Date: Thu, 12 Feb 2026 13:24:56 -0600 Subject: [PATCH 2/2] Removed folders from default skin files, adjusted unzipper to create default folder itself, then dump files there. --- Taskfile.yml | 22 ++++------------------ skin/default-skin.zip | Bin 1933 -> 1853 bytes skin/service.go | 4 ++-- 3 files changed, 6 insertions(+), 20 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index d6c24df..9412488 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -193,23 +193,9 @@ tasks: - wails build -clean package-default-skin: - desc: Zip folder into ./skin/default-skin.zip + desc: "Zips all files in SRC_DIR (excluding the folder itself) using Compress-Archive" vars: - SRC_DIR: '{{.SRC_DIR}}' - ZIP_PATH: "./skin/default-skin.zip" - + SRC_DIR: '{{.SRC_DIR | default ""}}' cmds: - - cmd: | - set -e - mkdir -p "$(dirname "{{.ZIP_PATH}}")" - parent="$(cd "$(dirname "{{.SRC_DIR}}")" && pwd)" - base="$(basename "{{.SRC_DIR}}")" - (cd "$parent" && zip -r "$OLDPWD/{{.ZIP_PATH}}" "$base") - platforms: [ linux, darwin ] - - - cmd: > - powershell -NoProfile -Command - "New-Item -ItemType Directory -Force -Path (Split-Path -Parent '{{.ZIP_PATH}}') | Out-Null; - if (Test-Path -LiteralPath '{{.ZIP_PATH}}') { Remove-Item '{{.ZIP_PATH}}' -Force }; - Compress-Archive -LiteralPath '{{.SRC_DIR}}' -DestinationPath '{{.ZIP_PATH}}' -Force" - platforms: [ windows ] + - powershell -Command "Compress-Archive -Path '{{.SRC_DIR}}\\*' -DestinationPath '.\skin\default-skin.zip' -Force" + diff --git a/skin/default-skin.zip b/skin/default-skin.zip index 5b10854ce1c1e0d9f8118be54d66b86eae05c73d..e61bcf96a1eb9754b712df1f9ebc735cef75915f 100644 GIT binary patch delta 376 zcmeC>-^(W#;LXe;!oa}5!4R>>JBIJNe6cBzmjc9`Ks-^+Lj)x5Kkxnw6(C<1hxoXZ53NMS#_Ho@~G_>Hsng-4_UDRV)k)Wr;<_5T~-Tfn->LP!i~8J}?ge D^%F@O delta 494 zcmdnX*UPUK;LXe;!oa}5!SJWaJBIJNe6cBzmjc9sAUZWIu{5V7W}=*j3`pL8-u)RW zKyh6l7Dbk?vX+Ty_KsQCx8+zn69a<-Cj$e>RG9vaC+9MO4M<@>yX8Aj;x8kr1)Hmw zxfsDJ;%63e<^g4&GBYp;AQ`cF21^rTJvK)I6(Iqbm6>@dsTF$3#l->Mj7%b6*FgM; z?gxZkkgs9d^UG3;iZWADi&2cw1%?wgeOPG}