- 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>
22 lines
487 B
Bash
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 "$@"
|