One
This commit is contained in:
26
build.bat
Normal file
26
build.bat
Normal file
@@ -0,0 +1,26 @@
|
||||
@echo off
|
||||
echo ======================================
|
||||
echo Building VS Code Copilot Setup
|
||||
echo ======================================
|
||||
echo.
|
||||
|
||||
REM Check if PyInstaller is installed
|
||||
pip show pyinstaller >nul 2>&1
|
||||
if %errorlevel% neq 0 (
|
||||
echo [*] Installing PyInstaller...
|
||||
pip install pyinstaller
|
||||
echo.
|
||||
)
|
||||
|
||||
REM Build the executable
|
||||
echo [*] Building executable...
|
||||
pyinstaller --onefile --icon=logo.ico --name="VSCode-Copilot-Setup" --uac-admin installer.py
|
||||
|
||||
echo.
|
||||
echo ======================================
|
||||
echo Build completed!
|
||||
echo ======================================
|
||||
echo.
|
||||
echo Output location: dist\VSCode-Copilot-Setup.exe
|
||||
echo.
|
||||
pause
|
||||
Reference in New Issue
Block a user