feat: check update
This commit is contained in:
@@ -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>;
|
||||
|
||||
@@ -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']();
|
||||
}
|
||||
|
||||
4
frontend/wailsjs/go/service/UpdateService.d.ts
vendored
Normal file
4
frontend/wailsjs/go/service/UpdateService.d.ts
vendored
Normal 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>;
|
||||
7
frontend/wailsjs/go/service/UpdateService.js
Normal file
7
frontend/wailsjs/go/service/UpdateService.js
Normal 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']();
|
||||
}
|
||||
Reference in New Issue
Block a user