From 2c4f37b55a047f953c8092f13f6c19f230748cc3 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sat, 3 Aug 2019 11:57:24 +0300 Subject: [PATCH] Improved dmg creation. - Added /Applications symlink. - Added icon for volume. --- .travis.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 886f8f6e6..fdf0e1aec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"