mirror of
https://github.com/PRVTPRO/Amnezia-Web-Panel.git
synced 2026-09-18 01:44:10 +02:00
f2563bdb77
* Add GitHub Actions for Win, Linux, MacOS. * Update app.py for saving data.json with run binary method * Add building scripts
16 lines
376 B
Bash
16 lines
376 B
Bash
#!/bin/bash
|
|
echo "Building Linux Binary..."
|
|
|
|
python3 -m pip install pyinstaller
|
|
pyinstaller --name Amnezia-Web-Panel \
|
|
--add-data "static:static" \
|
|
--add-data "templates:templates" \
|
|
--add-data "translations:translations" \
|
|
--hidden-import uvicorn \
|
|
--hidden-import fastapi \
|
|
--clean \
|
|
-y \
|
|
-F app.py
|
|
|
|
echo "Build complete! Executable is in the dist/ folder."
|