()
| 448 | * relative path math from the compiled main bundle. |
| 449 | */ |
| 450 | const resolveSourceIconPath = (): string => |
| 451 | app.isPackaged |
| 452 | ? join(process.resourcesPath, "icon.png") |
| 453 | : join(app.getAppPath(), "build", "icon.png"); |
| 454 | |
| 455 | const resolveLinuxIcon = (): string | undefined => { |
| 456 | if (process.platform !== "linux") return undefined; |
no outgoing calls
no test coverage detected