mirror of
https://github.com/A-Star100/simpliplay-desktop.git
synced 2025-09-17 22:29:38 +00:00
Update build-macos.yml
This commit is contained in:
parent
4759073cc4
commit
3eb2a7c7fd
6
.github/workflows/build-macos.yml
vendored
6
.github/workflows/build-macos.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
||||
echo "Ad-hoc signing complete for all bundles."
|
||||
working-directory: simpliplay
|
||||
|
||||
- name: Create DMG installers
|
||||
- name: Create custom DMG installers
|
||||
run: |
|
||||
# --- Set up variables ---
|
||||
APP_NAME="SimpliPlay"
|
||||
@ -73,7 +73,7 @@ jobs:
|
||||
open
|
||||
set position of item "%s.app" to {150, 150}
|
||||
set position of item "Applications" to {450, 150}
|
||||
set background picture of container window to file ".background:%s"
|
||||
set background picture of container window to file POSIX file "%s"
|
||||
set current view of container window to icon view
|
||||
set toolbar visible of container window to false
|
||||
set statusbar visible of container window to false
|
||||
@ -82,7 +82,7 @@ jobs:
|
||||
delay 5
|
||||
close
|
||||
end tell
|
||||
end tell' "$volume_name" "$APP_NAME" "$BACKGROUND_IMAGE" | osascript
|
||||
end tell' "$volume_name" "$APP_NAME" "$MOUNT_POINT/.background/$BACKGROUND_IMAGE" | osascript
|
||||
|
||||
hdiutil detach "$MOUNT_POINT"
|
||||
hdiutil convert "$temp_dmg_name" -format UDRW -ov -o "$dmg_name"
|
||||
|
Loading…
Reference in New Issue
Block a user