MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / resolveSourceIconPath

Function resolveSourceIconPath

apps/desktop/src/main/index.ts:450–453  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 2

resolveLinuxIconFunction · 0.85
installDockIconFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected