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

Function resolveSourceIconPath

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

Source from the content-addressed store, hash-verified

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

Callers 2

resolveLinuxIconFunction · 0.85
installDockIconFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected