Первый релиз WhisperKey

This commit is contained in:
2026-07-29 14:46:12 +06:00
commit 5751743277
19 changed files with 1436 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/zsh
set -euo pipefail
PROJECT_DIR=${0:A:h:h}
APP_DIR="$PROJECT_DIR/dist/WhisperKey.app"
cd "$PROJECT_DIR"
swift build -c release
rm -rf "$APP_DIR"
mkdir -p "$APP_DIR/Contents/MacOS" "$APP_DIR/Contents/Resources"
cp "$PROJECT_DIR/.build/release/WhisperKey" "$APP_DIR/Contents/MacOS/WhisperKey"
cp "$PROJECT_DIR/Resources/Info.plist" "$APP_DIR/Contents/Info.plist"
codesign --force --deep --sign - "$APP_DIR"
echo "$APP_DIR"