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
This commit is contained in:
25
build.bat
Normal file
25
build.bat
Normal file
@@ -0,0 +1,25 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user