Files
proxy-god/build_exe.bat

21 lines
505 B
Batchfile

@echo off
setlocal
cd /d "%~dp0"
python -m pip install -r requirements.txt
python -m pip install pyinstaller
python -m PyInstaller --noconfirm --clean ^
--onefile --windowed ^
--uac-admin ^
--name ProxyChainManager ^
--collect-all customtkinter ^
--hidden-import pystray._win32 ^
run.py
copy /Y "dist\ProxyChainManager.exe" "%USERPROFILE%\Desktop\ProxyChainManager.exe" >nul
echo.
echo Built: dist\ProxyChainManager.exe
echo Copied to: %USERPROFILE%\Desktop\ProxyChainManager.exe
endlocal