Skip to content

Commit

Permalink
feat: use create-dmg to provide pretty dmg
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxbrian committed Jul 14, 2024
1 parent a8519d5 commit 9cfe047
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,9 @@ jobs:
xcrun stapler staple "target/release/osx/Alacritty.app"
- name: Make DMG
run: |
ln -sf /Applications target/release/osx/Applications
hdiutil create target/release/osx/Alacritty.dmg \
-volname "Alacritty" \
-fs HFS+ \
-srcfolder target/release/osx \
-ov -format UDZO
npm install --global create-dmg
brew install graphicsmagick imagemagick
create-dmg 'target/release/osx/Alacritty.app' 'target/release/osx'
- name: Upload Application
run: |
mv ./target/release/osx/Alacritty.dmg ./Alacritty-${GITHUB_REF##*/}.dmg
Expand Down

0 comments on commit 9cfe047

Please sign in to comment.