UPDATE: Add precheck version hdiff, support another hdiff

This commit is contained in:
2025-08-29 21:13:10 +07:00
parent a4de02bc18
commit d58e76d821
12 changed files with 212 additions and 154 deletions

View File

@@ -4,24 +4,22 @@
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import {Call as $Call, Create as $Create} from "@wailsio/runtime";
import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Create } from "@wailsio/runtime";
/**
* @param {string} path
* @returns {Promise<[boolean, string, string, string]> & { cancel(): void }}
* @returns {$CancellablePromise<[boolean, string, string, string]>}
*/
export function GetLanguage(path) {
let $resultPromise = /** @type {any} */($Call.ByID(3574191687, path));
return $resultPromise;
return $Call.ByID(3574191687, path);
}
/**
* @param {string} path
* @param {string} text
* @param {string} voice
* @returns {Promise<[boolean, string]> & { cancel(): void }}
* @returns {$CancellablePromise<[boolean, string]>}
*/
export function SetLanguage(path, text, voice) {
let $resultPromise = /** @type {any} */($Call.ByID(2768939795, path, text, voice));
return $resultPromise;
return $Call.ByID(2768939795, path, text, voice);
}