macos app bundle (#585)
* test signed app bundle * fix vars * fix condition * typo * fix quoting * use recursive signing script * fix release cleanup * restore proper ci action
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>com.apple.security.cs.allow-jit</key>
|
||||
<true/>
|
||||
<key>com.apple.security.automation.apple-events</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#! /bin/sh
|
||||
|
||||
# Set the working directory
|
||||
DIR=$(cd "$(dirname "$0")"; pwd)
|
||||
|
||||
# Run the application
|
||||
echo "running from $DIR"
|
||||
|
||||
open -a Terminal $DIR/ErsatzTV
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#! /bin/bash
|
||||
APP_NAME="release/ErsatzTV.app"
|
||||
ENTITLEMENTS="scripts/macOS/ErsatzTV.entitlements"
|
||||
SIGNING_IDENTITY="C3BBCFB2D6851FF0DCA6CAC06A3EF1ECE71F9FFF"
|
||||
|
||||
find "$APP_NAME/Contents/MacOS/"|while read fname; do
|
||||
if [[ -f $fname ]]; then
|
||||
echo "[INFO] Signing $fname"
|
||||
codesign --force --timestamp --options=runtime --entitlements "$ENTITLEMENTS" --sign "$SIGNING_IDENTITY" "$fname"
|
||||
fi
|
||||
done
|
||||
|
||||
echo "[INFO] Signing app file"
|
||||
|
||||
codesign --force --timestamp --options=runtime --entitlements "$ENTITLEMENTS" --sign "$SIGNING_IDENTITY" "$APP_NAME"
|
||||
Reference in New Issue
Block a user