MCPcopy Index your code
hub / github.com/anomalyco/opencode / restoreMainWindows

Function restoreMainWindows

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

Source from the content-addressed store, hash-verified

135}
136
137export function restoreMainWindows() {
138 const ids = readWindowIDs()
139 return (ids.length ? ids : [randomUUID()]).map((id) => createMainWindow(id))
140}
141
142export function setDockIcon() {
143 if (process.platform !== "darwin") return

Callers 1

index.tsFile · 0.90

Calls 2

readWindowIDsFunction · 0.85
createMainWindowFunction · 0.85

Tested by

no test coverage detected