13 lines
292 B
PowerShell
13 lines
292 B
PowerShell
$ErrorActionPreference = "Stop"
|
|
|
|
if (-not (Test-Path ".\.venv\Scripts\python.exe")) {
|
|
python -m venv .venv
|
|
}
|
|
|
|
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
|
|
.\.venv\Scripts\python.exe -m PyInstaller `
|
|
--onefile `
|
|
--windowed `
|
|
--name PDFReaderLite `
|
|
main.py
|