diff --git a/Launch.lua b/Launch.lua
index f510a41b..80fc5f5d 100644
--- a/Launch.lua
+++ b/Launch.lua
@@ -190,6 +190,9 @@ function launch:OnSubFinished(id, ...)
if self.subScripts[id].type == "UPDATE" then
self.updateAvailable, self.updateErrMsg = ...
self.updateCheckRunning = false
+ if self.updateCheckBackground and self.updateAvailable == "none" then
+ self.updateAvailable = nil
+ end
elseif self.subScripts[id].type == "DOWNLOAD" then
local errMsg = PCall(self.subScripts[id].callback, ...)
if errMsg then
diff --git a/Modules/Main.lua b/Modules/Main.lua
index f35b282d..353801dc 100644
--- a/Modules/Main.lua
+++ b/Modules/Main.lua
@@ -234,9 +234,14 @@ function main:OnFrame()
t_insert(self.toastMessages, string.format("Update check failed!\n%s", launch.updateErrMsg))
launch.updateErrMsg = nil
end
- if launch.updateAvailable and launch.updateAvailable ~= "none" and not self.updateAvailableShown then
- t_insert(self.toastMessages, "Update Available\nAn update has been downloaded and is ready\nto be applied.")
- self.updateAvailableShown = true
+ if launch.updateAvailable then
+ if launch.updateAvailable == "none" then
+ t_insert(self.toastMessages, "No update available\nYou are running the latest version.")
+ self.updateAvailable = nil
+ elseif not self.updateAvailableShown then
+ t_insert(self.toastMessages, "Update Available\nAn update has been downloaded and is ready\nto be applied.")
+ self.updateAvailableShown = true
+ end
end
-- Run toasts
diff --git a/manifest.xml b/manifest.xml
index 85fc3894..f32c9825 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -4,7 +4,7 @@
-
+
@@ -59,7 +59,7 @@
-
+