From 0180b30ce3c9a308cd900b071885be215c9e3793 Mon Sep 17 00:00:00 2001 From: Roman Varlakov Date: Wed, 29 Jul 2026 15:31:00 +0600 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20=D0=B8=D0=BA=D0=BE=D0=BD=D0=BA=D1=83=20=D1=81=D0=B8?= =?UTF-8?q?=D1=81=D1=82=D0=B5=D0=BC=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=B2=D0=B2?= =?UTF-8?q?=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Resources/InputMethod-Info.plist | 2 +- Resources/WhisperKeyInput.pbm | 18 ------------------ Resources/WhisperKeyInput.svg | 10 ++++++++++ scripts/build-app.sh | 4 ++-- 4 files changed, 13 insertions(+), 21 deletions(-) delete mode 100644 Resources/WhisperKeyInput.pbm create mode 100644 Resources/WhisperKeyInput.svg diff --git a/Resources/InputMethod-Info.plist b/Resources/InputMethod-Info.plist index fa1aa46..3804189 100644 --- a/Resources/InputMethod-Info.plist +++ b/Resources/InputMethod-Info.plist @@ -40,6 +40,6 @@ Latn tsInputMethodIconFileKey - WhisperKeyInput.tiff + WhisperKeyInputTemplate.tiff diff --git a/Resources/WhisperKeyInput.pbm b/Resources/WhisperKeyInput.pbm deleted file mode 100644 index 48ca3f8..0000000 --- a/Resources/WhisperKeyInput.pbm +++ /dev/null @@ -1,18 +0,0 @@ -P1 -16 16 -0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 -0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 -0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 -0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 -0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 -0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 -0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 -0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 -0 0 1 0 0 0 0 1 1 0 0 0 0 1 0 0 -0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 -0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 -0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 -0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 -0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 -0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 diff --git a/Resources/WhisperKeyInput.svg b/Resources/WhisperKeyInput.svg new file mode 100644 index 0000000..d6c18fc --- /dev/null +++ b/Resources/WhisperKeyInput.svg @@ -0,0 +1,10 @@ + + + + diff --git a/scripts/build-app.sh b/scripts/build-app.sh index 96b11cf..2947a59 100755 --- a/scripts/build-app.sh +++ b/scripts/build-app.sh @@ -18,8 +18,8 @@ rm -rf "$INPUT_APP_DIR" mkdir -p "$INPUT_APP_DIR/Contents/MacOS" "$INPUT_APP_DIR/Contents/Resources" cp "$PROJECT_DIR/.build/release/WhisperKeyInput" "$INPUT_APP_DIR/Contents/MacOS/WhisperKeyInput" cp "$PROJECT_DIR/Resources/InputMethod-Info.plist" "$INPUT_APP_DIR/Contents/Info.plist" -sips -s format tiff "$PROJECT_DIR/Resources/WhisperKeyInput.pbm" \ - --out "$INPUT_APP_DIR/Contents/Resources/WhisperKeyInput.tiff" >/dev/null +sips -s format tiff "$PROJECT_DIR/Resources/WhisperKeyInput.svg" \ + --out "$INPUT_APP_DIR/Contents/Resources/WhisperKeyInputTemplate.tiff" >/dev/null codesign --force --deep --sign - "$INPUT_APP_DIR" echo "$APP_DIR"