MCPcopy Create free account
hub / github.com/esengine/esengine / openFileWithSystemApp

Method openFileWithSystemApp

packages/editor-app/src/api/tauri.ts:183–185  ·  view source on GitHub ↗

* 使用系统默认程序打开文件 * @param path 文件路径

(path: string)

Source from the content-addressed store, hash-verified

181 * @param path 文件路径
182 */
183 static async openFileWithSystemApp(path: string): Promise<void> {
184 await invoke('open_file_with_default_app', { filePath: path });
185 }
186
187 /**
188 * 在文件管理器中显示文件

Callers 3

ContentBrowserFunction · 0.80
getContextMenuItemsFunction · 0.80
handleNodeDoubleClickFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected