launcher
simple launcher for python application packaged by PyInstaller
- pack python application by PyInstaller with param -D
- rename the directory to 'dist'
- copy launcher.exe with 'dist'
- if your app name is gui.exe in 'dist', rename launcher.exe to gui.exe
一个简单的启动器,用于启动PyInstaller打包的python程序
避免在打包出的dist目录中一堆杂乱无章的文件里寻找.exe文件
- 用 -D 参数打包python程序为一个目录
- 把目录名修改为 'dist'
- 把luncher.exe拷贝到'dist'目录同级
- 如果'dist'里打包后的python程序名为gui.exe,则把luncher.exe重命名为gui.exe