buckshot/make_dmg_mac.sh

21 lines
554 B
Bash
Raw Normal View History

2016-12-06 02:12:44 +00:00
#!/bin/sh
git clone https://github.com/andreyvit/yoursway-create-dmg.git
cd yoursway-create-dmg
test -f buckshot.dmg && rm buckshot.dmg
./create-dmg \
--volname "buckshot" \
--volicon "../assets/icons.icns" \
2016-12-06 16:26:43 +00:00
--background "../assets/buckshot_dmg_bg_600x500.png" \
2016-12-06 02:12:44 +00:00
--window-pos 200 120 \
--window-size 600 500 \
--icon-size 100 \
--icon buckshot.app 180 130 \
--hide-extension buckshot.app \
2016-12-11 16:08:58 +00:00
--icon README.txt 200 330 \
--icon LICENSE.txt 410 330 \
2016-12-06 02:12:44 +00:00
--app-drop-link 410 130 \
buckshot.dmg \
../buckshot-osx/
cp buckshot.dmg ..