Обновить иконку системного ввода
This commit is contained in:
@@ -40,6 +40,6 @@
|
|||||||
<string>Latn</string>
|
<string>Latn</string>
|
||||||
</array>
|
</array>
|
||||||
<key>tsInputMethodIconFileKey</key>
|
<key>tsInputMethodIconFileKey</key>
|
||||||
<string>WhisperKeyInput.tiff</string>
|
<string>WhisperKeyInputTemplate.tiff</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|||||||
@@ -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
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path
|
||||||
|
fill="#000"
|
||||||
|
d="M16 3a6 6 0 0 0-6 6v7a6 6 0 0 0 12 0V9a6 6 0 0 0-6-6Z"
|
||||||
|
/>
|
||||||
|
<path
|
||||||
|
fill="#000"
|
||||||
|
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"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 365 B |
@@ -18,8 +18,8 @@ rm -rf "$INPUT_APP_DIR"
|
|||||||
mkdir -p "$INPUT_APP_DIR/Contents/MacOS" "$INPUT_APP_DIR/Contents/Resources"
|
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.pbm" \
|
sips -s format tiff "$PROJECT_DIR/Resources/WhisperKeyInput.svg" \
|
||||||
--out "$INPUT_APP_DIR/Contents/Resources/WhisperKeyInput.tiff" >/dev/null
|
--out "$INPUT_APP_DIR/Contents/Resources/WhisperKeyInputTemplate.tiff" >/dev/null
|
||||||
codesign --force --deep --sign - "$INPUT_APP_DIR"
|
codesign --force --deep --sign - "$INPUT_APP_DIR"
|
||||||
|
|
||||||
echo "$APP_DIR"
|
echo "$APP_DIR"
|
||||||
|
|||||||
Reference in New Issue
Block a user