Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Updater improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Sep 26, 2022
1 parent 3956d01 commit 3f11b96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion interface/utils/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export const checkForUpdate = async () => {
console.log(manifest)

state.updateAvailable = true

setState(state)
}
} catch (error) {
Expand All @@ -29,6 +28,8 @@ export const checkForUpdate = async () => {
}

export const installUpdate = async () => {
document.querySelector(".updateText").textContent = "Downloading update... Please wait!"

await updater.installUpdate()
await relaunch()
}
Expand Down

0 comments on commit 3f11b96

Please sign in to comment.