You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add auto-py-to-exe configuration and standalone executable support
Enable packaging bgScore into a portable Windows executable by adding an
auto-py-to-exe configuration file and supporting build scripts.
Key changes and rationale:
- Update app.py path resolution for PyInstaller onefile mode: static assets
and templates are loaded from the temporary bundle directory (sys._MEIPASS),
while persistent runtime files (bgscore.db, SSL certificates) are anchored
to the executable directory to prevent tournament data loss on exit.
- Automatically launch http://localhost:5000 in the default web browser on
server startup, enabling a seamless one-click launch experience.
- Protect stdout and stderr streams against NoneType exceptions when run
without a console window.
- Add auto-py-to-exe-config.json and helper batch scripts to support both
GUI-based and direct CLI build workflows.
- Add .gitignore to exclude build artifacts, output binaries, and spec files.