chore: generate
This commit is contained in:
parent
9b4d5b0395
commit
7a2c49e762
4 changed files with 8 additions and 18 deletions
|
|
@ -250,8 +250,8 @@ export const ErrorPage: Component<ErrorPageProps> = (props) => {
|
|||
}
|
||||
|
||||
async function installUpdate() {
|
||||
await platform
|
||||
.updater?.install()
|
||||
await platform.updater
|
||||
?.install()
|
||||
.then(() => setStore("actionError", undefined))
|
||||
.catch((err) => {
|
||||
setStore("actionError", formatError(err, language.t))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue