feat: implement automatic update checking and downloading functionality in the desktop app, enhancing user experience with seamless updates and corresponding UI settings

This commit is contained in:
wizardchen
2026-04-11 18:27:08 +08:00
committed by lyingbug
parent c4ebc1f60e
commit 9874fcee7c
13 changed files with 527 additions and 23 deletions
+4
View File
@@ -1,6 +1,10 @@
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export function AutoCheckForUpdates():Promise<void>;
export function CheckForUpdates():Promise<void>;
export function GetAPIBaseURL():Promise<string>;
export function GetAPILanBaseURL():Promise<string>;
+8
View File
@@ -2,6 +2,14 @@
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export function AutoCheckForUpdates() {
return window['go']['main']['App']['AutoCheckForUpdates']();
}
export function CheckForUpdates() {
return window['go']['main']['App']['CheckForUpdates']();
}
export function GetAPIBaseURL() {
return window['go']['main']['App']['GetAPIBaseURL']();
}