mirror of https://github.com/ErsatzTV/ErsatzTV.git
Browse Source
* test signed app bundle * fix vars * fix condition * typo * fix quoting * use recursive signing script * fix release cleanup * restore proper ci actionpull/587/head
9 changed files with 120 additions and 10 deletions
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash |
||||
IFS='.' read -ra ADDR <<< "$1" |
||||
ICONSET=${ADDR[0]}.iconset |
||||
mkdir $ICONSET |
||||
sips -z 16 16 $1 --out $ICONSET/icon_16x16.png |
||||
sips -z 32 32 $1 --out $ICONSET/icon_16x16@2x.png |
||||
sips -z 32 32 $1 --out $ICONSET/icon_32x32.png |
||||
sips -z 64 64 $1 --out $ICONSET/icon_32x32@2x.png |
||||
sips -z 128 128 $1 --out $ICONSET/icon_128x128.png |
||||
sips -z 256 256 $1 --out $ICONSET/icon_128x128@2x.png |
||||
sips -z 256 256 $1 --out $ICONSET/icon_256x256.png |
||||
sips -z 512 512 $1 --out $ICONSET/icon_256x256@2x.png |
||||
sips -z 512 512 $1 --out $ICONSET/icon_512x512.png |
||||
cp $1 $ICONSET/icon_512x512@2x.png |
||||
iconutil -c icns $ICONSET |
||||
rm -R $ICONSET |
||||
|
@ -0,0 +1,15 @@
@@ -0,0 +1,15 @@
|
||||
{ |
||||
"source" : ["./release/ErsatzTV.app"], |
||||
"bundle_id" : "com.jasongdove.ersatztv", |
||||
"apple_id": { |
||||
"password": "@env:AC_PASSWORD" |
||||
}, |
||||
"sign" :{ |
||||
"application_identity" : "C3BBCFB2D6851FF0DCA6CAC06A3EF1ECE71F9FFF", |
||||
"entitlements_file": "./scripts/macOS/ErsatzTV.entitlements" |
||||
}, |
||||
"dmg" :{ |
||||
"output_path": "./release/ErsatzTV.dmg", |
||||
"volume_name": "ErsatzTV" |
||||
} |
||||
} |
@ -0,0 +1,10 @@
@@ -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> |
@ -0,0 +1,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 |
@ -0,0 +1,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" |
Loading…
Reference in new issue