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

Function resolveSourceIconPath

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

Source from the content-addressed store, hash-verified

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

Callers 2

resolveLinuxIconFunction · 0.85
installDockIconFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected