diff --git a/utils/build.bat b/utils/build.bat index dbf2efc..0a8d713 100644 --- a/utils/build.bat +++ b/utils/build.bat @@ -2,7 +2,7 @@ cd /d %~dp0 :: Change directory to the location of this batch file call ../venv/Scripts/activate :: Activate the virtual environment -pyinstaller --noconfirm --onefile --console --icon "../assets/icon.ico" main.py --distpath="../build/bin" -n "cod_api_tool" +pyinstaller --noconfirm --onefile --console --icon "../assets/icon.ico" cod_api_tool.py --distpath="../build/bin" -n "cod_api_tool" rmdir /s /q build del /q "cod_api_tool.spec" diff --git a/utils/build.py b/utils/build.py index e461e82..a87bb13 100644 --- a/utils/build.py +++ b/utils/build.py @@ -4,7 +4,7 @@ import subprocess import PyInstaller.__main__ # Constants for your project -SCRIPT = "main.py" +SCRIPT = "cod_api_tool.py" ICON = "assets/icon.ico" NAME = "cod_api_tool" DIST_PATH = "bin"