Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit d73fef7

Browse files
committed
fix build process
The old build process didn't remove the parent folder. Some times this needed to be cleared out so it would build. Now we just delete it, although it is slower.
1 parent 3354e04 commit d73fef7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Build.bat

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@ECHO OFF
2-
set outputFolder=build\dist
3-
rd /s /q %outputFolder%
2+
set buildFolder=build
3+
set outputFolder=%buildFolder%\dist
4+
rd /s /q %buildFolder%
45
pyinstaller --onefile ".\Source\Streamlabs Rcon Integration.py" --workpath ".\build" --clean --distpath ".\build\dist" --specpath ".\build"
56
xcopy "Source\config.sample.json" "%outputFolder%" /q /y /i
67
xcopy "Source\eventDefinitions.json" "%outputFolder%" /q /y /i

0 commit comments

Comments
 (0)