Windows installer; ship the dashboard template
- packaging/: PyInstaller spec (one folder, windowed, Python included), Inno Setup script (per-user install, Start menu, optional desktop icon, WebView2 check), build.ps1, app icon. - Bundled exe also runs the CLI (output to %LOCALAPPDATA%\myGarmin\cli.log). - Fix: .gitignore pattern dashboard*.html also hid src/mygarmin/report/dashboard.html, so the template was never committed and fresh clones could not build a dashboard. Patterns anchored; data file types (*.gpx, *.csv, *.json, *.gz, *.log) ignored too. - Self-test runs beside an open app (own WebView2 data folder, no single-instance check). - Neutral example values in a docstring and the tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
12
.gitignore
vendored
12
.gitignore
vendored
@@ -8,7 +8,8 @@
|
||||
*.trk
|
||||
*.ldk
|
||||
*.zip
|
||||
dashboard*.html
|
||||
/dashboard*.html
|
||||
/*.html
|
||||
settings.json
|
||||
.garminconnect/
|
||||
garmin_tokens.json
|
||||
@@ -16,6 +17,12 @@ library/
|
||||
originals/
|
||||
exports/
|
||||
inbox/
|
||||
*.gpx
|
||||
*.csv
|
||||
*.json
|
||||
*.gz
|
||||
*.log
|
||||
build_log.txt
|
||||
# synthetic test fixtures are allowed
|
||||
!tests/data/**
|
||||
|
||||
@@ -26,3 +33,6 @@ build/
|
||||
dist/
|
||||
*.egg-info/
|
||||
.venv/
|
||||
|
||||
# packaging output and generated files
|
||||
packaging/version_info.txt
|
||||
|
||||
Reference in New Issue
Block a user