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

@@ -11,7 +11,7 @@ import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Cr
* @returns {$CancellablePromise<boolean>}
*/
export function DirExists(path) {
return $Call.ByID(1772289644, path);
return $Call.ByID(4102029604, path);
}
/**
@@ -19,7 +19,7 @@ export function DirExists(path) {
* @returns {$CancellablePromise<boolean>}
*/
export function FileExists(path) {
return $Call.ByID(1782610747, path);
return $Call.ByID(865459, path);
}
/**
@@ -28,7 +28,7 @@ export function FileExists(path) {
* @returns {$CancellablePromise<[boolean, string]>}
*/
export function FileExistsInZip(archivePath, fileInside) {
return $Call.ByID(2509699047, archivePath, fileInside);
return $Call.ByID(3506095695, archivePath, fileInside);
}
/**
@@ -36,7 +36,14 @@ export function FileExistsInZip(archivePath, fileInside) {
* @returns {$CancellablePromise<string>}
*/
export function GetDir(path) {
return $Call.ByID(1744445742, path);
return $Call.ByID(1567262998, path);
}
/**
* @returns {$CancellablePromise<[string, string]>}
*/
export function GetSavedGameSelection() {
return $Call.ByID(858061230);
}
/**
@@ -44,7 +51,7 @@ export function GetDir(path) {
* @returns {$CancellablePromise<string>}
*/
export function Join(...paths) {
return $Call.ByID(2460588289, paths);
return $Call.ByID(3036412633, paths);
}
/**
@@ -52,7 +59,7 @@ export function Join(...paths) {
* @returns {$CancellablePromise<[boolean, string]>}
*/
export function OpenFolder(path) {
return $Call.ByID(1635714001, path);
return $Call.ByID(1601714793, path);
}
/**
@@ -60,14 +67,23 @@ export function OpenFolder(path) {
* @returns {$CancellablePromise<string>}
*/
export function PickFile(filter) {
return $Call.ByID(3756474934, filter);
return $Call.ByID(2493433102, filter);
}
/**
* @returns {$CancellablePromise<string>}
*/
export function PickFolder() {
return $Call.ByID(3654471460);
return $Call.ByID(1673632540);
}
/**
* @param {string} gameDir
* @param {string} fileName
* @returns {$CancellablePromise<string>}
*/
export function ReadConfigFile(gameDir, fileName) {
return $Call.ByID(3834168665, gameDir, fileName);
}
/**
@@ -75,7 +91,16 @@ export function PickFolder() {
* @returns {$CancellablePromise<void>}
*/
export function RemoveFile(path) {
return $Call.ByID(3206735043, path);
return $Call.ByID(2698409755, path);
}
/**
* @param {string} gamePath
* @param {string} gameDir
* @returns {$CancellablePromise<void>}
*/
export function SaveGameSelection(gamePath, gameDir) {
return $Call.ByID(1414185756, gamePath, gameDir);
}
/**
@@ -83,7 +108,7 @@ export function RemoveFile(path) {
* @returns {$CancellablePromise<[boolean, string]>}
*/
export function StartApp(path) {
return $Call.ByID(1267568402, path);
return $Call.ByID(2875051690, path);
}
/**
@@ -91,5 +116,15 @@ export function StartApp(path) {
* @returns {$CancellablePromise<[boolean, string]>}
*/
export function StartWithConsole(path) {
return $Call.ByID(3249271428, path);
return $Call.ByID(3393986364, path);
}
/**
* @param {string} gameDir
* @param {string} fileName
* @param {string} content
* @returns {$CancellablePromise<void>}
*/
export function WriteConfigFile(gameDir, fileName, content) {
return $Call.ByID(1143842060, gameDir, fileName, content);
}