MCPcopy Index your code
hub / github.com/ZToolsCenter/ZTools / setAutoCheck

Method setAutoCheck

src/main/api/updater.ts:107–113  ·  view source on GitHub ↗

* 设置是否自动检查

(enabled: boolean)

Source from the content-addressed store, hash-verified

105 * 设置是否自动检查
106 */
107 public setAutoCheck(enabled: boolean): void {
108 if (enabled) {
109 this.startAutoCheck()
110 } else {
111 this.stopAutoCheck()
112 }
113 }
114
115 /**
116 * 自动检查并下载更新

Callers 1

setupIPCMethod · 0.80

Calls 2

startAutoCheckMethod · 0.95
stopAutoCheckMethod · 0.95

Tested by

no test coverage detected