-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
20 lines (17 loc) · 832 Bytes
/
Copy pathbuild.bat
File metadata and controls
20 lines (17 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@echo off
REM Build the all-in-one StarRuptureTimer.exe (timer + recipe search, no console).
REM Run srextract.exe FIRST to generate recipes.json + icons from your own game copy.
REM (Empty placeholders are created below so the build never fails; recipes.json is
REM also read externally next to the exe, so you can drop in updated data anytime.)
if not exist icons mkdir icons
if not exist recipes.json echo {"recipes":[]}>recipes.json
if not exist icons.json echo {}>icons.json
python -m PyInstaller --onefile --noconsole --name StarRuptureTimer ^
--add-data "recipes.json;." ^
--add-data "icons.json;." ^
--add-data "icons;icons" ^
--hidden-import "PIL._tkinter_finder" overlay.py
echo.
echo Done. Your exe is at: dist\StarRuptureTimer.exe
echo (Keep recipes.json next to the exe to override the bundled data.)
pause