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

Function resolveSourceIconPath

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

Source from the content-addressed store, hash-verified

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

Callers 2

resolveLinuxIconFunction · 0.85
installDockIconFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected