fix(updater): build in temp directory, replace old launcher binary, and cleanup temp

This commit is contained in:
CAtlas0784 committed 2026-10-30 21:31:53 +07:00
1 parent 0ec9f62857
commit 0a97749a1c
8 files changed
+281 -98

No files matched your search

@@ -6,12 +6,21 @@
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Create } from "@wailsio/runtime";
/**
* @param {string} gamePath
* @param {string} patchPath
* @returns {$CancellablePromise<[boolean, string]>}
*/
export function ApplyDiffZiff(gamePath, patchPath) {
return $Call.ByID(3398476317, gamePath, patchPath);
}
/**
* @param {string} patchPath
* @returns {$CancellablePromise<[boolean, string, string]>}
*/
export function CheckTypeHDiff(patchPath) {
return $Call.ByID(3717449114, patchPath);
return $Call.ByID(2449959810, patchPath);
}
/**
@@ -19,7 +28,7 @@ export function CheckTypeHDiff(patchPath) {
* @returns {$CancellablePromise<[boolean, string]>}
*/
export function CutData(gamePath) {
return $Call.ByID(2019290107, gamePath);
return $Call.ByID(279510819, gamePath);
}
/**
@@ -28,7 +37,7 @@ export function CutData(gamePath) {
* @returns {$CancellablePromise<[boolean, string]>}
*/
export function DataExtract(gamePath, patchPath) {
return $Call.ByID(2161622254, gamePath, patchPath);
return $Call.ByID(3151294534, gamePath, patchPath);
}
/**
@@ -36,7 +45,7 @@ export function DataExtract(gamePath, patchPath) {
* @returns {$CancellablePromise<[boolean, string]>}
*/
export function DeleteFiles(gamePath) {
return $Call.ByID(1103091613, gamePath);
return $Call.ByID(308950549, gamePath);
}
/**
@@ -44,7 +53,7 @@ export function DeleteFiles(gamePath) {
* @returns {$CancellablePromise<[boolean, string]>}
*/
export function HDiffPatchData(gamePath) {
return $Call.ByID(3944051994, gamePath);
return $Call.ByID(4008196450, gamePath);
}
/**
@@ -52,7 +61,7 @@ export function HDiffPatchData(gamePath) {
* @returns {$CancellablePromise<[boolean, string]>}
*/
export function LDiffPatchData(gamePath) {
return $Call.ByID(360123238, gamePath);
return $Call.ByID(2041639182, gamePath);
}
/**
@@ -61,5 +70,5 @@ export function LDiffPatchData(gamePath) {
* @returns {$CancellablePromise<[boolean, string]>}
*/
export function VersionValidate(gamePath, patchPath) {
return $Call.ByID(2105077257, gamePath, patchPath);
return $Call.ByID(169848129, gamePath, patchPath);
}