MCPcopy
hub / github.com/ZToolsCenter/ZTools / setTrayIconVisible

Method setTrayIconVisible

src/main/api/renderer/window.ts:142–145  ·  view source on GitHub ↗
(visible: boolean)

Source from the content-addressed store, hash-verified

140 }
141
142 public setTrayIconVisible(visible: boolean): void {
143 windowManager.setTrayIconVisible(visible)
144 console.log('[WindowAPI] 设置托盘图标可见性:', visible)
145 }
146
147 public setWindowMaterial(material: WindowMaterial): { success: boolean } {
148 const result = windowManager.setWindowMaterial(material)

Callers 3

setupIPCMethod · 0.95
setupIPCMethod · 0.45
loadAndApplySettingsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected