|
|
hace 4 semanas | |
|---|---|---|
| .. | ||
| service | hace 1 mes | |
| vendor | hace 2 meses | |
| .gitignore | hace 2 meses | |
| README.md | hace 2 meses | |
| bambuddy.ico | hace 2 meses | |
| bambuddy.iss | hace 2 meses | |
| build.py | hace 4 semanas | |
Builds a self-contained Windows installer (.exe) for Bambuddy: embedded
Python 3.13 distribution + pre-built frontend + NSSM-supervised Windows
service. No Python or Node installation required on the target machine.
C:\Program Files\Bambuddy\C:\ProgramData\Bambuddy\data\ (preserved on uninstall by default)C:\ProgramData\Bambuddy\logs\LocalSystem, autostart on bootpython.exe -m uvicorn backend.app.main:app --host 0.0.0.0 --port 8000 --loop asyncio (--loop asyncio avoids a uvloop TLS bug that can truncate VP FTP uploads, #1896)Browser is the UI. Start Menu shortcut opens http://localhost:8000.
See memory/windows-installer-decision.md for the full reasoning. Short
version: PowerShell install scripts can't survive environmental drift
across the Windows host fleet, so we ship a self-contained bundle that
depends on nothing on the host. Inno Setup + embedded Python is the
lowest-maintenance path that delivers native-app UX. No Tauri/Electron
launcher in v1 — browser-as-UI matches every other Bambuddy platform.
The build runs on Windows (or in a Windows GitHub Actions runner). Cross- building from Linux is possible via Wine but not officially supported.
windows-latest GitHub Actions runner)build.py; the embedded Python that ships
in the installer is downloaded fresh by the build script)bambuddy.iss → .exe)The build script downloads everything else automatically (embedded Python, NSSM, ffmpeg).
:: From the repo root on a Windows machine
cd installers\windows
python build.py
:: Then open bambuddy.iss in Inno Setup Compiler and click Build → Compile
:: (or invoke ISCC.exe directly:)
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" bambuddy.iss
Output: installers\windows\build\output\bambuddy-windows-setup.exe
The installer can be built and run unsigned. Windows SmartScreen will show "Windows protected your PC" on first run. Click More info → Run anyway to proceed. This is expected and harmless for testing. Production builds will be signed via SignPath OSS (application in flight as of 2026-06-10) and won't show this warning after reputation accrues.
See .github/workflows/windows-installer.yml for the automated build.
The workflow runs on every tag matching v* and uploads the installer
as a release asset.