This commit is contained in:
Eduard Gert
2026-05-11 15:16:41 +02:00
parent b5a970155b
commit 439f44c6b4
13 changed files with 12 additions and 78 deletions

View File

@@ -26,6 +26,15 @@ export function GetLogLevel(): $CancellablePromise<$models.LogLevel> {
});
}
/**
* RevealFile opens the OS file manager focused on the given path. Wails'
* Browser.OpenURL refuses non-http(s) schemes, so the UI calls this binding
* instead of constructing a file:// URL.
*/
export function RevealFile(path: string): $CancellablePromise<void> {
return $Call.ByID(2620662837, path);
}
export function SetLogLevel(lvl: $models.LogLevel): $CancellablePromise<void> {
return $Call.ByID(4122411498, lvl);
}