desktop: move open_path to rust (#15323)
This commit is contained in:
parent
2a4ed49551
commit
0da8af8a28
3 changed files with 23 additions and 29 deletions
|
|
@ -18,7 +18,7 @@ export const commands = {
|
|||
checkAppExists: (appName: string) => __TAURI_INVOKE<boolean>("check_app_exists", { appName }),
|
||||
wslPath: (path: string, mode: "windows" | "linux" | null) => __TAURI_INVOKE<string>("wsl_path", { path, mode }),
|
||||
resolveAppPath: (appName: string) => __TAURI_INVOKE<string | null>("resolve_app_path", { appName }),
|
||||
openInPowershell: (path: string) => __TAURI_INVOKE<null>("open_in_powershell", { path }),
|
||||
openPath: (path: string, appName: string | null) => __TAURI_INVOKE<null>("open_path", { path, appName }),
|
||||
};
|
||||
|
||||
/** Events */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue