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