MCPcopy Index your code
hub / github.com/ZToolsCenter/ZTools / openTerminal

Method openTerminal

src/main/api/renderer/system.ts:76–83  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

74 }
75
76 private async openTerminal(path: string): Promise<void> {
77 try {
78 await appleScriptHelper.openInTerminal(path)
79 } catch (error) {
80 console.error('[System] 在终端打开失败:', error)
81 throw error
82 }
83 }
84
85 private async getFinderPath(): Promise<string | null> {
86 try {

Callers 1

setupIPCMethod · 0.95

Calls 1

openInTerminalMethod · 0.80

Tested by

no test coverage detected