-
pip install PySide pyinstaller
-
npm install appdmg -g
-
pyinstaller listen1.spec --clean -y
-
cd listen1/dist/Listen\ 1
-
cp -r Listen\ 1.app ../../package_resource/mac/dmg-resource/
-
cd package_resource/mac/dmg_resource
-
appdmg listen1.json ~/Desktop/listen1.dmg
-
可以参考make.sh,把上述过程自动化
pyside dylib not found: cd site-packges, use install_name_tool to change @rpath to current directory.