()
| 409 | * relative path math from the compiled main bundle. |
| 410 | */ |
| 411 | const resolveSourceIconPath = (): string => |
| 412 | app.isPackaged |
| 413 | ? join(process.resourcesPath, "icon.png") |
| 414 | : join(app.getAppPath(), "build", "icon.png"); |
| 415 | |
| 416 | const resolveLinuxIcon = (): string | undefined => { |
| 417 | if (process.platform !== "linux") return undefined; |
no outgoing calls
no test coverage detected