mirror of
https://github.com/ILoveBingLu/CipherTalk.git
synced 2026-06-13 08:17:02 +08:00
feat: add packaged mcp launcher for macos
This commit is contained in:
@@ -118,6 +118,10 @@ function parsePositiveInt(value: unknown, fallback: number): number {
|
||||
}
|
||||
|
||||
export function getPackagedLauncherPath(): string {
|
||||
if (process.platform === 'darwin') {
|
||||
return join(dirname(getExePath()), 'ciphertalk-mcp')
|
||||
}
|
||||
|
||||
return join(dirname(getExePath()), 'ciphertalk-mcp.cmd')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user