()
| 555 | } |
| 556 | |
| 557 | async function prepareDesktopBuild() { |
| 558 | if (packagedAppPath) { |
| 559 | await access(packagedAppExecutablePath(packagedAppPath), constants.X_OK) |
| 560 | return |
| 561 | } |
| 562 | if (skipDesktopBuild && (await fileExists(desktopOutMain))) return |
| 563 | await run(npmCommand, ['run', 'build', '--workspace', '@zennotes/desktop'], { |
| 564 | shell: process.platform === 'win32' |
| 565 | }) |
| 566 | } |
| 567 | |
| 568 | async function main() { |
| 569 | await prepareDesktopBuild() |
no test coverage detected