Skip to content

Desktop download#754

Merged
pontusab merged 3 commits into
mainfrom
feature/desktop-download
Feb 8, 2026
Merged

Desktop download#754
pontusab merged 3 commits into
mainfrom
feature/desktop-download

Conversation

@pontusab
Copy link
Copy Markdown
Contributor

@pontusab pontusab commented Feb 8, 2026

Note

Medium Risk
Introduces a new unauthenticated download proxy endpoint and background update behavior; mistakes in URL validation, caching, or GitHub token handling could enable unintended proxying or disrupt update delivery.

Overview
Adds a new public Desktop API router that proxies GitHub Releases for the Tauri updater: GET /desktop/update fetches and validates latest.json, rewrites platform download URLs to GET /desktop/update/download, and download streams artifacts while restricting allowed URLs to the midday-ai/midday repo (optionally authenticated via GITHUB_RELEASE_TOKEN).

Updates the desktop app updater config to use https://api.midday.ai/desktop/update, adds a startup + 4-hour background silent update check (with a shared prompt/install flow), bumps desktop version to 0.5.0, and adds tokio time support for scheduling.

Written by Cursor Bugbot for commit 8aeda12. This will update automatically on new commits. Configure here.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is ON, but it could not run because Privacy Mode (Legacy) is turned on. To enable Bugbot Autofix, switch your privacy mode in the Cursor dashboard.

Comment thread apps/api/src/rest/routers/desktop.ts
@pontusab pontusab merged commit d26baff into main Feb 8, 2026
5 checks passed
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