macOS legacy build: add custom README and local build script

This commit is contained in:
Alberto Sottile 2019-03-21 13:05:47 +01:00
parent a2b2d41c78
commit a377535e42
2 changed files with 8 additions and 0 deletions

8
build_legacy.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
rm -rf build dist dist_dmg
python3 buildPy2app.py py2app
mkdir dist_dmg
cp resources/macOS_legacy_readme.pdf resources/.macOS_readme.pdf
export VER="$(cat syncplay/__init__.py | awk '/version/ {gsub("\047", "", $3); print $NF}')"
dmgbuild -s appdmg.py "Syncplay" dist_dmg/Syncplay_${VER}_macOS_legacy.dmg

Binary file not shown.