-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathmake_dmg.sh
More file actions
31 lines (20 loc) · 788 Bytes
/
make_dmg.sh
File metadata and controls
31 lines (20 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
pyinstaller --onedir -y serve.py
cd ext/calc_sbpca/python
pyinstaller --onedir -y SAcC.py
cd ../../../
# cd ext/gentle
# ln -s serve.py gentle_serve.py
# pyinstaller --onedir -y gentle_serve.py
# cd ../../
mkdir serve-dist
rsync -avzPL www dist/serve/ ext/calc_sbpca/python/dist/SAcC/ serve-dist/
#ext/gentle/dist/gentle_serve/
cp stage.py ffmpeg serve-dist/
# rsync -avzP ext/gentle/exp serve-dist/
# mkdir serve-dist/ext
# cp ext/gentle/ext/k3 ext/gentle/ext/m3 serve-dist/
# XXX: May need to modify the config
cp -r ext/calc_sbpca/python/aux ext/calc_sbpca/python/*.config serve-dist/
pyinstaller -i drift3.icns --windowed -y drift_gui.spec
mv serve-dist dist/drift_gui.app/Contents/Resources/
hdiutil create dist/drift3.dmg -volname "Drift3" -srcfolder dist/drift_gui.app/