Files
synctv-weihang/windows_py_client/build_exe.ps1
2026-06-15 22:46:12 +08:00

14 lines
348 B
PowerShell

$ErrorActionPreference = "Stop"
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install --upgrade pip
.\.venv\Scripts\pip.exe install -r requirements.txt
.\.venv\Scripts\pyinstaller.exe `
--noconfirm `
--windowed `
--name SyncTV `
--add-data "README_CLIENT.md;." `
synctv_client\main.py
Write-Host "Built dist\SyncTV\SyncTV.exe"