Skip to content

Commit 52d7445

Browse files
authored
Add OS dependent builds
1 parent 915969e commit 52d7445

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
'--exclude-module',
2525
'_bootlocale',
2626
'--onefile',
27-
'--add-binary',
28-
f'./bin/ffmpeg.exe{delim}.'
27+
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:."}',
29+
2930
])

0 commit comments

Comments
 (0)