Skip to content

Commit ce8c420

Browse files
committed
Upgraded DMG
1 parent 4465ea9 commit ce8c420

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/mac-release.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
required: true
1414
jobs:
1515
description: 'Number of parallel jobs to build with'
16-
default: 1
16+
default: 4
1717
type: number
1818
qt_version:
1919
description: 'Qt version to use'
@@ -98,7 +98,20 @@ jobs:
9898

9999
# Read-write format in case Resources needs to be updated
100100
- name: Create disk image
101-
run: hdiutil create -volname "SerialPrograms" -format UDRW -srcfolder SerialPrograms.app SerialPrograms.dmg
101+
run: |
102+
brew install create-dmg
103+
mkdir dmg
104+
cd dmg
105+
cp -r ../SerialPrograms.app .
106+
create-dmg --volname "SerialPrograms Installer" \
107+
--window-pos 150 150 \
108+
--window-size 600 400 \
109+
--icon-size 128 \
110+
--icon "SerialPrograms.app" 140 160 \
111+
--hide-extension "SerialPrograms.app" \
112+
--app-drop-link 450 160 \
113+
"SerialPrograms-Installer.dmg" \
114+
"./"
102115
103116
- name: Upload artifact
104117
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)