Skip to content

Full Velopack auto-update for Dashboard (#635)#657

Merged
erikdarlingdata merged 1 commit into
devfrom
feature/dashboard-velopack-full
Mar 20, 2026
Merged

Full Velopack auto-update for Dashboard (#635)#657
erikdarlingdata merged 1 commit into
devfrom
feature/dashboard-velopack-full

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

Complete Velopack integration matching the proven PerformanceStudio pattern.

App changes

  • Custom Main() with VelopackApp.Build().Run() before WPF (proper entry point)
  • 3-step update flow: check → download → MessageBox confirm → restart
  • 5-second delayed startup check with tray notification
  • Falls back to browser-based check when no Velopack packages exist

Pipeline changes

  • Self-contained win-x64 publish for Velopack (existing framework-dependent publish unchanged)
  • vpk downloadvpk packvpk upload with --token and --merge
  • Existing zip + signing flow untouched

What this means

  • Current zip distribution keeps working as-is
  • Users who install via the new Setup.exe get auto-update on future releases
  • First release with this produces a full nupkg only; subsequent releases get delta packages

Tested: Dashboard launches and functions normally with the new entry point.

🤖 Generated with Claude Code

App-side:
- Custom Main() in Program.cs with VelopackApp.Build().Run() before
  WPF starts (proper entry point, resolves Velopack warning)
- Removed StartupUri from App.xaml, MainWindow created in OnStartup
- StartupObject set in csproj
- About window: 3-step update flow (check → download → confirm → restart)
  with MessageBox confirmation before restart
- Startup check: 5-second delay to avoid slowing launch
- Link text shortened to "click to install"

Pipeline:
- Self-contained win-x64 publish for Velopack (separate from existing)
- vpk download for delta generation
- vpk pack producing Setup.exe + full/delta nupkg
- vpk upload with --token to attach artifacts to release
- Existing zip distribution unchanged

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 55c5033 into dev Mar 20, 2026
3 checks passed
@erikdarlingdata erikdarlingdata deleted the feature/dashboard-velopack-full branch April 9, 2026 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant