zapret-kvn/setup.bat
XrayFluent Dev 626bb17b1e feat: TUN VPN mode via tun2socks, UI improvements, settings overhaul
Major changes:
- TUN mode: tun2socks + xray SOCKS architecture (replaced sing-box)
- Hot-swap: node switching keeps TUN alive, only restarts xray
- Traffic graph: live QPainter chart on dashboard with detail dialog
- Settings: stock qfluentwidgets cards (SpinBox, ColorPicker, PushSettingCard)
- Navigation: fixed icon/text overlap in expanded menu
- Ctrl+V import, copy link from context menu
- System proxy cleanup on exit (atexit safety net)
- Build: data/ backup/restore during PyInstaller rebuild
- Log throttling in TUN mode to prevent UI freeze

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 23:01:50 +03:00

27 lines
586 B
Batchfile

@echo off
chcp 65001 >nul 2>&1
setlocal
set "VENV_DIR=%~dp0.venv"
echo Creating virtual environment...
python -m venv "%VENV_DIR%"
if errorlevel 1 (
echo ERROR: Failed to create venv. Make sure Python 3.10+ is installed.
pause
exit /b 1
)
echo Installing dependencies...
"%VENV_DIR%\Scripts\pip.exe" install --upgrade pip
"%VENV_DIR%\Scripts\pip.exe" install -r "%~dp0requirements.txt"
if errorlevel 1 (
echo ERROR: Failed to install dependencies.
pause
exit /b 1
)
echo.
echo Done! Virtual environment created in .venv\
echo Run the app with: run.bat
pause