-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
23 lines (23 loc) · 887 Bytes
/
build.bat
File metadata and controls
23 lines (23 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
@mkdir dist >> nul
@set osbuild=%1
@cls
if %osbuild%==W (
@nuitka --mode="onefile" --no-deployment-flag=self-execution --output-dir=dist sussy.py
@nuitka --mode="onefile" --output-dir=dist vent.py
@copy /y dist\sussy.exe C:\Users\George\Documents\sus\bin\sussy.exe >> nul
@copy /y dist\vent.exe C:\Users\George\Documents\sus\bin\vent.exe >> nul
@rmdir /s /q dist
) else if %osbuild%==M (
exit
) else if %osbuild%==L (
@nuitka --mode="onefile" --no-deployment-flag=self-execution --output-dir=dist sussy.py
@nuitka --mode="onefile" --output-dir=dist vent.py
@copy /y dist\sussy.exe C:\Users\George\Documents\sus\bin\sussy.exe >> nul
@copy /y dist\vent.exe C:\Users\George\Documents\sus\bin\vent.exe >> nul
@rmdir /s /q dist
) else (
@echo Invalid OS build option. Please choose W, M, or L.
exit /b 1
)
@echo Build complete.