Первый релиз WhisperKey
This commit is contained in:
Executable
+16
@@ -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"
|
||||
Reference in New Issue
Block a user