From 45ba41416af7fc507a017fff19e59f6f903e48ce Mon Sep 17 00:00:00 2001 From: Roman Varlakov Date: Wed, 29 Jul 2026 15:40:40 +0600 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D0=B8=D0=BA=D0=BE=D0=BD=D0=BA=D1=83=20=D0=B8?= =?UTF-8?q?=D1=81=D1=82=D0=BE=D1=87=D0=BD=D0=B8=D0=BA=D0=B0=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 | 6 +++--- Resources/WhisperKeyInput.svg | 20 ++++++++++++-------- scripts/build-app.sh | 2 +- scripts/install-app.sh | 1 + 4 files changed, 17 insertions(+), 12 deletions(-) diff --git a/Resources/InputMethod-Info.plist b/Resources/InputMethod-Info.plist index 3804189..b3ec46c 100644 --- a/Resources/InputMethod-Info.plist +++ b/Resources/InputMethod-Info.plist @@ -17,9 +17,9 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.2.0 + 0.2.1 CFBundleVersion - 2 + 3 InputMethodConnectionName com.romanv.inputmethod.WhisperKey_Connection InputMethodServerControllerClass @@ -40,6 +40,6 @@ Latn tsInputMethodIconFileKey - WhisperKeyInputTemplate.tiff + WhisperKeyInputTemplateV2.tiff diff --git a/Resources/WhisperKeyInput.svg b/Resources/WhisperKeyInput.svg index d6c18fc..faa4114 100644 --- a/Resources/WhisperKeyInput.svg +++ b/Resources/WhisperKeyInput.svg @@ -1,10 +1,14 @@ - - + + + + + + diff --git a/scripts/build-app.sh b/scripts/build-app.sh index 2947a59..13a9a2d 100755 --- a/scripts/build-app.sh +++ b/scripts/build-app.sh @@ -19,7 +19,7 @@ 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.svg" \ - --out "$INPUT_APP_DIR/Contents/Resources/WhisperKeyInputTemplate.tiff" >/dev/null + --out "$INPUT_APP_DIR/Contents/Resources/WhisperKeyInputTemplateV2.tiff" >/dev/null codesign --force --deep --sign - "$INPUT_APP_DIR" echo "$APP_DIR" diff --git a/scripts/install-app.sh b/scripts/install-app.sh index 3e5cda0..2b72f3c 100755 --- a/scripts/install-app.sh +++ b/scripts/install-app.sh @@ -10,6 +10,7 @@ ditto "$PROJECT_DIR/dist/WhisperKey.app" "/Applications/WhisperKey.app" INPUT_METHOD_DIR="$HOME/Library/Input Methods" mkdir -p "$INPUT_METHOD_DIR" pkill -x WhisperKeyInput 2>/dev/null || true +rm -rf "$INPUT_METHOD_DIR/WhisperKeyInput.app" ditto "$PROJECT_DIR/dist/WhisperKeyInput.app" "$INPUT_METHOD_DIR/WhisperKeyInput.app" open -gja "$INPUT_METHOD_DIR/WhisperKeyInput.app"