Исправить иконку источника ввода
This commit is contained in:
@@ -17,9 +17,9 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>0.2.0</string>
|
<string>0.2.1</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>2</string>
|
<string>3</string>
|
||||||
<key>InputMethodConnectionName</key>
|
<key>InputMethodConnectionName</key>
|
||||||
<string>com.romanv.inputmethod.WhisperKey_Connection</string>
|
<string>com.romanv.inputmethod.WhisperKey_Connection</string>
|
||||||
<key>InputMethodServerControllerClass</key>
|
<key>InputMethodServerControllerClass</key>
|
||||||
@@ -40,6 +40,6 @@
|
|||||||
<string>Latn</string>
|
<string>Latn</string>
|
||||||
</array>
|
</array>
|
||||||
<key>tsInputMethodIconFileKey</key>
|
<key>tsInputMethodIconFileKey</key>
|
||||||
<string>WhisperKeyInputTemplate.tiff</string>
|
<string>WhisperKeyInputTemplateV2.tiff</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
<path
|
<g
|
||||||
fill="#000"
|
fill="none"
|
||||||
d="M16 3a6 6 0 0 0-6 6v7a6 6 0 0 0 12 0V9a6 6 0 0 0-6-6Z"
|
stroke="#000"
|
||||||
/>
|
stroke-width="3"
|
||||||
<path
|
stroke-linecap="round"
|
||||||
fill="#000"
|
stroke-linejoin="round"
|
||||||
d="M6.5 14a1.5 1.5 0 0 1 3 0v2a6.5 6.5 0 0 0 13 0v-2a1.5 1.5 0 0 1 3 0v2a9.5 9.5 0 0 1-8 9.38V28h4a1.5 1.5 0 0 1 0 3h-11a1.5 1.5 0 0 1 0-3h4v-2.62A9.5 9.5 0 0 1 6.5 16v-2Z"
|
>
|
||||||
/>
|
<rect x="11" y="3.5" width="10" height="17" rx="5"/>
|
||||||
|
<path d="M7.5 15.5v.75a8.5 8.5 0 0 0 17 0v-.75"/>
|
||||||
|
<path d="M16 24.75v3.75"/>
|
||||||
|
<path d="M11.5 28.5h9"/>
|
||||||
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 365 B |
@@ -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/.build/release/WhisperKeyInput" "$INPUT_APP_DIR/Contents/MacOS/WhisperKeyInput"
|
||||||
cp "$PROJECT_DIR/Resources/InputMethod-Info.plist" "$INPUT_APP_DIR/Contents/Info.plist"
|
cp "$PROJECT_DIR/Resources/InputMethod-Info.plist" "$INPUT_APP_DIR/Contents/Info.plist"
|
||||||
sips -s format tiff "$PROJECT_DIR/Resources/WhisperKeyInput.svg" \
|
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"
|
codesign --force --deep --sign - "$INPUT_APP_DIR"
|
||||||
|
|
||||||
echo "$APP_DIR"
|
echo "$APP_DIR"
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ ditto "$PROJECT_DIR/dist/WhisperKey.app" "/Applications/WhisperKey.app"
|
|||||||
INPUT_METHOD_DIR="$HOME/Library/Input Methods"
|
INPUT_METHOD_DIR="$HOME/Library/Input Methods"
|
||||||
mkdir -p "$INPUT_METHOD_DIR"
|
mkdir -p "$INPUT_METHOD_DIR"
|
||||||
pkill -x WhisperKeyInput 2>/dev/null || true
|
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"
|
ditto "$PROJECT_DIR/dist/WhisperKeyInput.app" "$INPUT_METHOD_DIR/WhisperKeyInput.app"
|
||||||
open -gja "$INPUT_METHOD_DIR/WhisperKeyInput.app"
|
open -gja "$INPUT_METHOD_DIR/WhisperKeyInput.app"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user