()
| 250 | } |
| 251 | |
| 252 | async function installUpdate() { |
| 253 | await platform.updater |
| 254 | ?.install() |
| 255 | .then(() => setStore("actionError", undefined)) |
| 256 | .catch((err) => { |
| 257 | setStore("actionError", formatError(err, language.t)) |
| 258 | }) |
| 259 | } |
| 260 | |
| 261 | const updateVersion = () => { |
| 262 | const state = platform.updater?.state() |
nothing calls this directly
no test coverage detected