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"