mirror of https://github.com/ErsatzTV/ErsatzTV.git
7 changed files with 110 additions and 20 deletions
@ -1,15 +1,11 @@ |
|||||||
{ |
{ |
||||||
"source" : ["./release/ErsatzTV.app"], |
"notarize": [{ |
||||||
"bundle_id" : "com.jasongdove.ersatztv", |
"path": "./ErsatzTV.dmg", |
||||||
|
"bundle_id": "com.jasongdove.ersatztv", |
||||||
|
"staple": true |
||||||
|
}], |
||||||
|
|
||||||
"apple_id": { |
"apple_id": { |
||||||
"password": "@env:AC_PASSWORD" |
"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,26 @@ |
|||||||
|
<?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>CFBundleDisplayName</key> |
||||||
|
<string>ErsatzTV</string> |
||||||
|
<key>CFBundleExecutable</key> |
||||||
|
<string>launcher.sh</string> |
||||||
|
<key>CFBundleIconFile</key> |
||||||
|
<string>ErsatzTV.icns</string> |
||||||
|
<key>CFBundleIdentifier</key> |
||||||
|
<string>com.jasongdove.ersatztv</string> |
||||||
|
<key>CFBundleName</key> |
||||||
|
<string>ErsatzTV</string> |
||||||
|
<key>CFBundlePackageType</key> |
||||||
|
<string>APPL</string> |
||||||
|
<key>CFBundleShortVersionString</key> |
||||||
|
<string>0.3.7-alpha</string> |
||||||
|
<key>CFBundleVersion</key> |
||||||
|
<string>0.3.7-alpha</string> |
||||||
|
<key>NSHighResolutionCapable</key> |
||||||
|
<true/> |
||||||
|
<key>NSPrincipalClass</key> |
||||||
|
<string>NSApplication</string> |
||||||
|
</dict> |
||||||
|
</plist> |
||||||
@ -0,0 +1,26 @@ |
|||||||
|
#! /bin/bash |
||||||
|
|
||||||
|
SCRIPT_FOLDER=$(dirname ${BASH_SOURCE[0]}) |
||||||
|
REPO_ROOT="$SCRIPT_FOLDER/../.." |
||||||
|
|
||||||
|
APP_NAME="$REPO_ROOT/ErsatzTV.app" |
||||||
|
PUBLISH_OUTPUT_DIRECTORY="$REPO_ROOT/publish/." |
||||||
|
INFO_PLIST="$SCRIPT_FOLDER/Info.plist" |
||||||
|
ICON_SOURCE="$REPO_ROOT/artwork/ErsatzTV.icns" |
||||||
|
ICON_FILE="ErsatzTV.icns" |
||||||
|
|
||||||
|
if [ -d "$APP_NAME" ] |
||||||
|
then |
||||||
|
rm -rf "$APP_NAME" |
||||||
|
fi |
||||||
|
|
||||||
|
mkdir "$APP_NAME" |
||||||
|
|
||||||
|
mkdir "$APP_NAME/Contents" |
||||||
|
mkdir "$APP_NAME/Contents/MacOS" |
||||||
|
mkdir "$APP_NAME/Contents/Resources" |
||||||
|
|
||||||
|
cp "$INFO_PLIST" "$APP_NAME/Contents/Info.plist" |
||||||
|
cp "$ICON_SOURCE" "$APP_NAME/Contents/Resources/$ICON_FILE" |
||||||
|
cp -a "$PUBLISH_OUTPUT_DIRECTORY" "$APP_NAME/Contents/MacOS" |
||||||
|
cp "$SCRIPT_FOLDER/launcher.sh" "$APP_NAME/Contents/MacOS/" |
||||||
@ -0,0 +1,10 @@ |
|||||||
|
#! /bin/bash |
||||||
|
|
||||||
|
SCRIPT_FOLDER=$(dirname ${BASH_SOURCE[0]}) |
||||||
|
REPO_ROOT="$SCRIPT_FOLDER/../.." |
||||||
|
|
||||||
|
DMG_NAME="$REPO_ROOT/ErsatzTV.dmg" |
||||||
|
ENTITLEMENTS="$SCRIPT_FOLDER/ErsatzTV.entitlements" |
||||||
|
SIGNING_IDENTITY="C3BBCFB2D6851FF0DCA6CAC06A3EF1ECE71F9FFF" |
||||||
|
|
||||||
|
codesign --force --timestamp --options=runtime --entitlements "$ENTITLEMENTS" --sign "$SIGNING_IDENTITY" "$DMG_NAME" |
||||||
Loading…
Reference in new issue