Improved dmg creation.

- Added /Applications symlink.
 - Added icon for volume.
This commit is contained in:
23rd 2019-08-03 11:57:24 +03:00
parent e7d9422431
commit 2c4f37b55a

View file

@ -9,14 +9,21 @@ addons:
- rapidjson
- qt
- p7zip
- create-dmg
compiler: clang
script:
- mkdir build && cd build
- /usr/local/opt/qt/bin/qmake .. && make -j8
- /usr/local/opt/qt/bin/macdeployqt chatterino.app -dmg
- mv chatterino.dmg chatterino-osx.dmg
- mkdir app
- mv chatterino.app app/
- "create-dmg \
--volname Chatterino2 \
--volicon ../resources/chatterino.icns \
--icon-size 50 \
--app-drop-link 0 0 \
chatterino-osx.dmg app/"
before_deploy:
- git config --global user.email "builds@travis-ci.com"