syncplay/ci/macos-deploy.sh

23 lines
756 B
Bash
Raw Permalink Normal View History

2019-04-30 22:11:58 +00:00
#!/usr/bin/env bash
set -ex
python3 ci/macos_app_cleaner.py
python3 ci/macos_app_arch_check.py
mkdir dist/Syncplay.app/Contents/Resources/English.lproj
mkdir dist/Syncplay.app/Contents/Resources/en_AU.lproj
mkdir dist/Syncplay.app/Contents/Resources/en_GB.lproj
mkdir dist/Syncplay.app/Contents/Resources/German.lproj
mkdir dist/Syncplay.app/Contents/Resources/Italian.lproj
mkdir dist/Syncplay.app/Contents/Resources/ru.lproj
mkdir dist/Syncplay.app/Contents/Resources/Spanish.lproj
mkdir dist/Syncplay.app/Contents/Resources/es_419.lproj
python3 ci/macos_app_adhoc_sign.py
2019-04-30 22:11:58 +00:00
pip3 install dmgbuild
mv syncplay/resources/macOS_readme.pdf syncplay/resources/.macOS_readme.pdf
python3 -m dmgbuild -s appdmg.py "Syncplay" dist_actions/Syncplay_${VER}.dmg