Files
amnezia-web-panel/build_linux.sh
T
Public relations & Virtual technology f2563bdb77 Add method download and run one file
* Add GitHub Actions for Win, Linux, MacOS.
* Update app.py for saving data.json with run binary method
* Add building scripts
2026-03-17 13:57:20 +03:00

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."