Skip to content

Commit

Permalink
add macos package creating script
Browse files Browse the repository at this point in the history
  • Loading branch information
ttulka committed Dec 9, 2021
1 parent 3ddaa07 commit f45eb57
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions macos-create-dmg.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh
rm -f StudentObservations-Installer.dmg
rm -rf build/macos/Release
mkdir -p build/macos/Release
cp -r "build/macos/Build/Products/Release/Student Observations.app" build/macos/Release/
create-dmg \
--volname "Student Observations Installer" \
--volicon "logo.icns" \
--window-pos 200 120 \
--window-size 800 529 \
--icon-size 130 \
--text-size 14 \
--icon "Student Observations.app" 260 250 \
--hide-extension "Student Observations.app" \
--app-drop-link 540 250 \
--hdiutil-quiet \
"StudentObservations-Installer.dmg" \
"build/macos/Release/"

0 comments on commit f45eb57

Please sign in to comment.