()
| 273 | } |
| 274 | |
| 275 | function windowIconPath(): string { |
| 276 | return app.isPackaged |
| 277 | ? path.join(process.resourcesPath, 'icon.png') |
| 278 | : path.join(__dirname, '../../build/icon.png') |
| 279 | } |
| 280 | |
| 281 | function openAllowedExternalUrl(url: string): void { |
| 282 | if (/^(https?:|mailto:)/i.test(url)) { |
no outgoing calls
no test coverage detected