Skip to content

Commit

Permalink
Fix manual update and quick shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Jan 2, 2022
1 parent 7cafbe6 commit f8771c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ const createWindows = () => {
axios
.get("https://api.levminer.com/api/v1/authme/releases")
.then((res) => {
if (res.data.tag_name > verify && res.data.tag_name != undefined && res.data.prerelease != true) {
if (res.data.tag_name > authme_version && res.data.tag_name != undefined && res.data.prerelease != true) {
window_application.webContents.executeJavaScript("showUpdate()")

window_settings.on("show", () => {
Expand Down Expand Up @@ -1561,6 +1561,7 @@ app.whenReady()

createTray()
createMenu()
quickShortcuts()

/**
* App controller
Expand Down

0 comments on commit f8771c4

Please sign in to comment.