Skip to content

Commit

Permalink
fix: updated create-dmg command with more options
Browse files Browse the repository at this point in the history
  • Loading branch information
elibosley committed Aug 7, 2024
1 parent 9bc22b7 commit cfa3728
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/sign-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
cd USB_CREATOR_DIR
codesign --deep --force --verify --verbose --sign "$APPLE_SIGNING_KEY_ID" --options runtime unraid-usb-creator.app
mv unraid-usb-creator.app "Unraid USB Creator.app"
create-dmg "Unraid USB Creator.dmg" "Unraid USB Creator.app"
mv Unraid\ USB\ Creator.dmg imager.dmg
create-dmg \
--icon "Unraid USB Creator.app" 100 100 \
--app-drop-link 300 100 \
--window-pos 200 120 \
--window-size 600 400 \
"Unraid USB Creator.dmg" "Unraid USB Creator.app"

xcrun notarytool submit "Unraid USB Creator.dmg" --apple-id "$APPLE_EMAIL_ADDRESS" --password "$APPLE_APP_PASSWORD" --team-id "$APPLE_TEAM_ID" --wait
xcrun stapler staple "Unraid USB Creator.dmg"

0 comments on commit cfa3728

Please sign in to comment.