MCPcopy
hub / github.com/CopyTranslator/CopyTranslator / check

Method check

src/main/views/update.ts:86–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 }
85
86 async check() {
87 console.log("正在检查Github更新");
88 this.autoUpdater.checkForUpdates().catch((e: any) => {
89 console.log("成功捕获异常好吧");
90 });
91 }
92
93 get(url: string) {
94 return axios_.get(url, { timeout: 5000 });

Callers 4

updateViewPluginFunction · 0.80
handleMethod · 0.80
setRuleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected