feat: check update

This commit is contained in:
2024-07-16 10:21:51 +08:00
parent 49da9100d2
commit b7d64cba7b
13 changed files with 693 additions and 4 deletions

View File

@@ -7,3 +7,5 @@ export function Close():Promise<void>;
export function QueryMacAddressByPrefix(arg1:string):Promise<service.MacAddress>;
export function QueryVersion():Promise<string>;
export function ReloadDatabase():Promise<boolean>;

View File

@@ -13,3 +13,7 @@ export function QueryMacAddressByPrefix(arg1) {
export function QueryVersion() {
return window['go']['service']['SQLiteHelper']['QueryVersion']();
}
export function ReloadDatabase() {
return window['go']['service']['SQLiteHelper']['ReloadDatabase']();
}

View File

@@ -0,0 +1,4 @@
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export function GetLatestVersion():Promise<any>;

View File

@@ -0,0 +1,7 @@
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export function GetLatestVersion() {
return window['go']['service']['UpdateService']['GetLatestVersion']();
}