Обновить иконку системного ввода

This commit is contained in:
2026-07-29 15:31:00 +06:00
parent af2525b335
commit 0180b30ce3
4 changed files with 13 additions and 21 deletions
+2 -2
View File
@@ -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"