feat(updates): verify and install launcher releases

Check the versioned release channel, verify the signed manifest and installer digest, and open the installer only after confirmation.

Verified type checks, the Windows package, and an upgrade handoff from a local release fixture, including tampering and interrupted downloads.
This commit is contained in:
N0VAN0M4LY committed 2026-11-30 11:12:44 +08:00
1 parent 31b38518f8
commit 746b74c564
24 files changed
+638 -28

No files matched your search

+6
View File
@@ -12,6 +12,12 @@
export const APP_ERROR_CODES = [
/** A bug of ours: a handler returned something its contract does not allow. */
'internal_error',
'app_update_unavailable',
'app_update_busy',
'app_update_launcher_busy',
'app_update_download_failed',
'app_update_installer_invalid',
'app_update_install_failed',
/** The launcher's own settings file could not be written. */
'settings_write_failed',
'logs_folder_open_failed',