UPDATE: Add self update
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user