MCPcopy Create free account
hub / github.com/anomalyco/opencode / iconPath

Function iconPath

packages/desktop/src/main/windows.ts:78–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76}
77
78function iconPath() {
79 const ext = process.platform === "win32" ? "ico" : "png"
80 return join(iconsDir(), `icon.${ext}`)
81}
82
83function tone() {
84 return nativeTheme.shouldUseDarkColors ? "dark" : "light"

Callers 1

createMainWindowFunction · 0.85

Calls 2

joinFunction · 0.85
iconsDirFunction · 0.85

Tested by

no test coverage detected