()
| 51 | ) |
| 52 | |
| 53 | function packageOSX() { |
| 54 | const dest = getOSXZipPath() |
| 55 | rmSync(dest, { recursive: true, force: true }) |
| 56 | |
| 57 | console.log('Packaging for macOS…') |
| 58 | cp.execSync( |
| 59 | `ditto -ck --keepParent "${distPath}/${productName}.app" "${dest}"` |
| 60 | ) |
| 61 | } |
| 62 | |
| 63 | function packageWindows() { |
| 64 | const iconSource = join(getIconDirectory(), 'icon-logo.ico') |
no test coverage detected