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

Function resolveSourceIconPath

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

Source from the content-addressed store, hash-verified

372 * relative path math from the compiled main bundle.
373 */
374const resolveSourceIconPath = (): string =>
375 app.isPackaged
376 ? join(process.resourcesPath, "icon.png")
377 : join(app.getAppPath(), "build", "icon.png");
378
379const resolveLinuxIcon = (): string | undefined => {
380 if (process.platform !== "linux") return undefined;

Callers 2

resolveLinuxIconFunction · 0.85
installDockIconFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected