Skip to content

Commit 07ead7e

Browse files
author
arch
committed
update build script
1 parent f9883ad commit 07ead7e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.bat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
rmdir /Q /S "build" 2>NUL
33
rmdir /Q /S "dist/funscript-editor" 2>NUL
44
del funscript-editor.spec 2>NUL
5-
pyinstaller --add-data="funscript_editor/config/*;funscript_editor/config" --hidden-import "pynput.keyboard._win32" --hidden-import "pynput.mouse._win32" funscript-editor.py
6-
xcopy /s "assets" "dist/funscript-editor"
5+
pyinstaller --add-data="funscript_editor/config/*;funscript_editor/config" --add-data="assets/*;." --hidden-import "pynput.keyboard._win32" --hidden-import "pynput.mouse._win32" funscript-editor.py
76
copy /Y "funscript_editor\\VERSION.txt" "dist\\funscript-editor\\funscript_editor"
87
powershell Compress-Archive -LiteralPath "dist/funscript-editor" -DestinationPath "dist/funscript-editor.zip"
98

0 commit comments

Comments
 (0)