File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1111
1212import PyInstaller .__main__
1313
14- delim = ';' if platform .system () == 'Windows' else ':'
1514
16-
17- # Install with ffmpeg binary
18- PyInstaller .__main__ .run ([
15+ args = [arg for arg in [
1916 'launcher.py' ,
2017 '--name' ,
2118 f'{ "swish" if platform .system () == "Windows" else "swish-linux" if platform .system () == "Linux" else "swish" } ' ,
2522 '_bootlocale' ,
2623 '--onefile' ,
2724 f'{ "--add-binary" if platform .system () != "Linux" else "" } ' ,
28- f'{ "./bin/ffmpeg.exe;." if platform .system () == "Windows" else "" if platform .system () == "Linux" else "./bin/ffmpeg:." } ' ,
25+ f'{ "./bin/ffmpeg.exe;." if platform .system () == "Windows" else "" if platform .system () == "Linux" else "./bin/ffmpeg:." } '
26+ ] if arg ]
2927
30- ])
28+ # Install with ffmpeg binary
29+ PyInstaller .__main__ .run (args )
You can’t perform that action at this time.
0 commit comments