80 lines
2.1 KiB
JavaScript
80 lines
2.1 KiB
JavaScript
// @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 {string} path
|
|
* @returns {Promise<boolean> & { cancel(): void }}
|
|
*/
|
|
export function DirExists(path) {
|
|
let $resultPromise = /** @type {any} */($Call.ByID(1772289644, path));
|
|
return $resultPromise;
|
|
}
|
|
|
|
/**
|
|
* @param {string} path
|
|
* @returns {Promise<boolean> & { cancel(): void }}
|
|
*/
|
|
export function FileExists(path) {
|
|
let $resultPromise = /** @type {any} */($Call.ByID(1782610747, path));
|
|
return $resultPromise;
|
|
}
|
|
|
|
/**
|
|
* @param {string} archivePath
|
|
* @param {string} fileInside
|
|
* @returns {Promise<[boolean, string]> & { cancel(): void }}
|
|
*/
|
|
export function FileExistsInZip(archivePath, fileInside) {
|
|
let $resultPromise = /** @type {any} */($Call.ByID(2509699047, archivePath, fileInside));
|
|
return $resultPromise;
|
|
}
|
|
|
|
/**
|
|
* @param {string} path
|
|
* @returns {Promise<[boolean, string]> & { cancel(): void }}
|
|
*/
|
|
export function OpenFolder(path) {
|
|
let $resultPromise = /** @type {any} */($Call.ByID(1635714001, path));
|
|
return $resultPromise;
|
|
}
|
|
|
|
/**
|
|
* @param {string} filter
|
|
* @returns {Promise<string> & { cancel(): void }}
|
|
*/
|
|
export function PickFile(filter) {
|
|
let $resultPromise = /** @type {any} */($Call.ByID(3756474934, filter));
|
|
return $resultPromise;
|
|
}
|
|
|
|
/**
|
|
* @returns {Promise<string> & { cancel(): void }}
|
|
*/
|
|
export function PickFolder() {
|
|
let $resultPromise = /** @type {any} */($Call.ByID(3654471460));
|
|
return $resultPromise;
|
|
}
|
|
|
|
/**
|
|
* @param {string} path
|
|
* @returns {Promise<boolean> & { cancel(): void }}
|
|
*/
|
|
export function StartApp(path) {
|
|
let $resultPromise = /** @type {any} */($Call.ByID(1267568402, path));
|
|
return $resultPromise;
|
|
}
|
|
|
|
/**
|
|
* @param {string} path
|
|
* @returns {Promise<boolean> & { cancel(): void }}
|
|
*/
|
|
export function StartWithConsole(path) {
|
|
let $resultPromise = /** @type {any} */($Call.ByID(3249271428, path));
|
|
return $resultPromise;
|
|
}
|