Files
oak-editor/assets
Mike-Solar 9cfcb0af92 feat(app): startup update check and Help > Report a Bug
On every startup (unless Preferences > General turns the new "Check for
updates" toggle off) the app GETs
https://www.oakvideoeditor.org/api/v1/update/latest, parses the
documented latest-release JSON and, when the remote version is newer
than the running build, prompts with a dialog whose primary button opens
https://www.oakvideoeditor.org/downloads. The blocking fetch runs on the
gpui background executor with a 5 s bound; transport and parse failures
are silent, and a release found while another modal is up (the project
manager on a fresh start) is deferred until the modal layer frees.

The transport sits behind an `UpdateTransport` seam so tests script the
response without touching the network; version comparison strips the
`v` prefix and pre-release suffixes and orders the components
numerically (an unparsable remote falls back to string inequality).

Help > Report a Bug... opens
https://www.oakvideoeditor.org/bug-report.

The eight shipped i18n packs carry the new menu/preferences/update keys.
2026-09-24 12:55:42 +08:00
..