MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / packagedAppExecutablePath

Function packagedAppExecutablePath

tooling/scripts/perf-desktop-runtime.mjs:112–118  ·  view source on GitHub ↗
(appPath)

Source from the content-addressed store, hash-verified

110}
111
112function packagedAppExecutablePath(appPath) {
113 if (process.platform === 'darwin' && appPath.endsWith('.app')) {
114 const appName = basename(appPath, '.app')
115 return join(appPath, 'Contents', 'MacOS', appName)
116 }
117 return appPath
118}
119
120function run(command, args, options = {}) {
121 return new Promise((resolvePromise, rejectPromise) => {

Callers 2

startDesktopRuntimeFunction · 0.85
prepareDesktopBuildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected