mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
14 lines
495 B
Bash
14 lines
495 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
echo "Running MACDEPLOYQT"
|
||
|
/usr/local/opt/qt/bin/macdeployqt chatterino.app -dmg
|
||
|
echo "Creating APP folder"
|
||
|
mkdir app
|
||
|
echo "Running hdiutil attach on the built DMG"
|
||
|
hdiutil attach chatterino.dmg
|
||
|
echo "Copying chatterino.app into the app folder"
|
||
|
cp -r /Volumes/chatterino/chatterino.app app/
|
||
|
echo "Creating DMG with create-dmg"
|
||
|
create-dmg --volname Chatterino2 --volicon ../resources/chatterino.icns --icon-size 50 --app-drop-link 0 0 --format UDBZ chatterino-osx.dmg app/
|
||
|
echo "DONE"
|