Files
server-manager/build.sh
chrome-storm-c442 218b60f7f6 Add build system, versioning, releases, multilingual docs
- version.py with v1.0.0
- build.py (PyInstaller cross-platform build script)
- build.sh / build.bat for quick builds
- releases/ServerManager-v1.0.0-win-x64.exe (Windows x64 binary)
- README.md with docs in English, Russian, Chinese
- CHANGELOG.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 07:58:40 -05:00

22 lines
487 B
Bash

#!/bin/bash
# Build script for Linux / macOS
# Run on the target OS to build for that platform.
#
# Usage:
# chmod +x build.sh
# ./build.sh # build
# ./build.sh --clean # clean first
set -e
cd "$(dirname "$0")"
# Install deps if needed
pip install -r requirements.txt pyinstaller 2>/dev/null || pip3 install -r requirements.txt pyinstaller
if [ "$1" = "--clean" ]; then
rm -rf build dist *.spec
echo "Cleaned"
fi
python build.py "$@" || python3 build.py "$@"