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 - rapidjson
- qt - qt
- p7zip - p7zip
- create-dmg
compiler: clang compiler: clang
script: script:
- mkdir build && cd build - mkdir build && cd build
- /usr/local/opt/qt/bin/qmake .. && make -j8 - /usr/local/opt/qt/bin/qmake .. && make -j8
- /usr/local/opt/qt/bin/macdeployqt chatterino.app -dmg - mkdir app
- mv chatterino.dmg chatterino-osx.dmg - 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: before_deploy:
- git config --global user.email "builds@travis-ci.com" - git config --global user.email "builds@travis-ci.com"