MCPcopy
hub / github.com/CopyTranslator/CopyTranslator / postUpdateInfo

Method postUpdateInfo

src/main/views/update.ts:182–191  ·  view source on GitHub ↗
(updateInfo: any)

Source from the content-addressed store, hash-verified

180 }
181
182 postUpdateInfo(updateInfo: any) {
183 const win = this.getWindow(
184 "存在可用更新",
185 path.join(env.externalResource, "update", "newer.html")
186 );
187
188 win.webContents.once("did-finish-load", () => {
189 win.webContents.send("releaseNote", updateInfo);
190 });
191 }
192}

Callers 2

bindUpdateEventsMethod · 0.95
checkTheGithubPagesMethod · 0.95

Calls 1

getWindowMethod · 0.95

Tested by

no test coverage detected