- Slab catalog and effect handlers ported from WhiteDog1004/sephiria - Hill-climbing solver maximizes effect sum on slab-occupied cells - PIL renderer outputs PNG with effects overlay; downloads + caches slab images from img.sephiria.wiki on demand - Tkinter GUI for picking slabs by tier; CLI also available - Screenshot recognizer (template matching, beta) - build.bat / build.sh for portable single-file builds via PyInstaller
25 lines
542 B
Bash
Executable File
25 lines
542 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Build a Linux single-file binary for local testing.
|
|
# For a Windows .exe run build.bat on Windows.
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
python3 -m venv .venv 2>/dev/null || true
|
|
# shellcheck disable=SC1091
|
|
source .venv/bin/activate || true
|
|
|
|
python3 -m pip install --upgrade pip
|
|
python3 -m pip install -r requirements.txt
|
|
python3 -m pip install pyinstaller
|
|
|
|
pyinstaller \
|
|
--onefile \
|
|
--name sephiria_inv \
|
|
--collect-submodules sephiria_inv \
|
|
-p . \
|
|
run.py
|
|
|
|
echo
|
|
echo "Build done. Output: dist/sephiria_inv"
|