(updateInfo: any)
| 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 | } |
no test coverage detected