()
| 21 | } |
| 22 | |
| 23 | export function getExecutableName() { |
| 24 | const suffix = process.env.NODE_ENV === 'development' ? '-dev' : '' |
| 25 | |
| 26 | if (process.platform === 'win32') { |
| 27 | return `${getWindowsIdentifierName()}${suffix}` |
| 28 | } else if (process.platform === 'linux') { |
| 29 | return 'desktop' |
| 30 | } else { |
| 31 | return productName |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | export function getOSXZipName() { |
| 36 | return `${productName}-${getDistArchitecture()}.zip` |
no test coverage detected