Files
sephiria_inv_program/build.bat
tkrmagid 3cb8140cfa Sephiria inventory optimizer v0.1.0
- 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
2026-05-13 22:12:49 +09:00

26 lines
452 B
Batchfile

@echo off
REM Build a portable single-file Windows EXE.
REM Requires Python 3.10+ on PATH.
setlocal
if not exist .venv (
python -m venv .venv
)
call .venv\Scripts\activate.bat
pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
pyinstaller ^
--onefile ^
--noconsole ^
--name sephiria_inv ^
--collect-submodules sephiria_inv ^
-p . ^
run.py
echo.
echo Build done. Output: dist\sephiria_inv.exe
endlocal