(appPath)
| 110 | } |
| 111 | |
| 112 | function 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 | |
| 120 | function run(command, args, options = {}) { |
| 121 | return new Promise((resolvePromise, rejectPromise) => { |
no outgoing calls
no test coverage detected