Skip to content

Commit 9b7953b

Browse files
authored
feat: added icons when opening dmg image
1 parent 99af9ac commit 9b7953b

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,22 @@ jobs:
9797
ls -l AuthKey.p8
9898
xcrun notarytool submit Pricey-darwin-arm64.zip --key AuthKey.p8 --key-id $NOTARY_KEY_ID --issuer $NOTARY_ISSUER --wait
9999
rm -f AuthKey.p8
100+
101+
- name: Make dmg distribution
102+
run: |
103+
cd dmg
104+
unzip ../Pricey-darwin-arm64.zip
105+
ln -sf /Applications Applications
106+
cd ..
107+
hdiutil create -volname "PriceyApp" -srcfolder dmg -ov -format UDZO Pricey-darwin-arm64.dmg
100108
101109
- name: Upload artifact
102110
uses: actions/upload-artifact@v4
103111
with:
104112
name: Pricey-darwin-arm64
105-
path: Pricey-darwin-arm64.zip
113+
path: |
114+
Pricey-darwin-arm64.zip
115+
Pricey-darwin-arm64.dmg
106116
107117
- name: Upload release
108118
if: github.ref_type == 'tag'
@@ -113,4 +123,5 @@ jobs:
113123
name: Version ${{ github.ref_name }}
114124
files: |
115125
Pricey-darwin-arm64.zip
126+
Pricey-darwin-arm64.dmg
116127

dmg/.DS_Store

14 KB
Binary file not shown.

dmg/.background/background.png

83.3 KB
Loading

0 commit comments

Comments
 (0)