UPDATE: Add self update
This commit is contained in:
24
frontend/bindings/firefly-launcher/internal/appservice.js
Normal file
24
frontend/bindings/firefly-launcher/internal/appservice.js
Normal file
@@ -0,0 +1,24 @@
|
||||
// @ts-check
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: Unused imports
|
||||
import {Call as $Call, Create as $Create} from "@wailsio/runtime";
|
||||
|
||||
/**
|
||||
* @param {number} timeout
|
||||
* @returns {Promise<[boolean, string]> & { cancel(): void }}
|
||||
*/
|
||||
export function CloseAppAfterTimeout(timeout) {
|
||||
let $resultPromise = /** @type {any} */($Call.ByID(982751559, timeout));
|
||||
return $resultPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Promise<[boolean, string]> & { cancel(): void }}
|
||||
*/
|
||||
export function GetCurrentLauncherVersion() {
|
||||
let $resultPromise = /** @type {any} */($Call.ByID(2542090372));
|
||||
return $resultPromise;
|
||||
}
|
||||
@@ -25,20 +25,26 @@ export function DownloadServerProgress(version) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} oldVersion
|
||||
* @returns {Promise<[boolean, string, string]> & { cancel(): void }}
|
||||
*/
|
||||
export function GetLatestProxyVersion(oldVersion) {
|
||||
let $resultPromise = /** @type {any} */($Call.ByID(1462362449, oldVersion));
|
||||
export function GetLatestLauncherVersion() {
|
||||
let $resultPromise = /** @type {any} */($Call.ByID(3191972855));
|
||||
return $resultPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} oldVersion
|
||||
* @returns {Promise<[boolean, string, string]> & { cancel(): void }}
|
||||
*/
|
||||
export function GetLatestServerVersion(oldVersion) {
|
||||
let $resultPromise = /** @type {any} */($Call.ByID(1447982978, oldVersion));
|
||||
export function GetLatestProxyVersion() {
|
||||
let $resultPromise = /** @type {any} */($Call.ByID(1462362449));
|
||||
return $resultPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Promise<[boolean, string, string]> & { cancel(): void }}
|
||||
*/
|
||||
export function GetLatestServerVersion() {
|
||||
let $resultPromise = /** @type {any} */($Call.ByID(1447982978));
|
||||
return $resultPromise;
|
||||
}
|
||||
|
||||
@@ -57,3 +63,12 @@ export function UnzipServer() {
|
||||
let $resultPromise = /** @type {any} */($Call.ByID(4110296071));
|
||||
return $resultPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} version
|
||||
* @returns {Promise<[boolean, string]> & { cancel(): void }}
|
||||
*/
|
||||
export function UpdateLauncherProgress(version) {
|
||||
let $resultPromise = /** @type {any} */($Call.ByID(2648938152, version));
|
||||
return $resultPromise;
|
||||
}
|
||||
|
||||
@@ -2,11 +2,13 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
import * as AppService from "./appservice.js";
|
||||
import * as FSService from "./fsservice.js";
|
||||
import * as GitService from "./gitservice.js";
|
||||
import * as HdiffzService from "./hdiffzservice.js";
|
||||
import * as LanguageService from "./languageservice.js";
|
||||
export {
|
||||
AppService,
|
||||
FSService,
|
||||
GitService,
|
||||
HdiffzService,
|
||||
|
||||
Reference in New Issue
Block a user