22 lines
605 B
Batchfile
22 lines
605 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
|
|
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0scripts\create_desktop_shortcut.ps1"
|
|
echo.
|
|
echo Built: dist\ProxyChainManager.exe
|
|
echo Desktop: ProxyChainManager.exe + shortcut "Proxy God.lnk"
|
|
endlocal
|
|
|