diff --git a/ElvUI_MerathilisUI/Core/Update.lua b/ElvUI_MerathilisUI/Core/Update.lua index 028b97690..950d862dc 100644 --- a/ElvUI_MerathilisUI/Core/Update.lua +++ b/ElvUI_MerathilisUI/Core/Update.lua @@ -14,14 +14,12 @@ local function UpdateMessage(text, from) F.Print(L["Update"]) end - print(text .. format("(|cff00a8ff%.2f|r -> |cff00a8ff%s|r)...", from, MER.Version, DONE_ICON)) + E:Delay(1, function() + print(text .. format("(|cff00a8ff%.2f|r -> |cff00a8ff%s|r)...", from, MER.Version) .. DONE_ICON) + end) end -function MER:ForPreReleaseUser() end - function MER:UpdateScripts() -- DB Convert - MER:ForPreReleaseUser() - local currentVersion = tonumber(MER.Version) -- Installed MerathilisUI Version local globalVersion = tonumber(E.global.mui.version or "0") -- Version in ElvUI Global @@ -37,6 +35,8 @@ function MER:UpdateScripts() -- DB Convert return end + print(globalVersion, profileVersion, privateVersion, currentVersion) + isFirstLine = true if profileVersion and profileVersion <= 6.37 then @@ -71,6 +71,7 @@ function MER:UpdateScripts() -- DB Convert if E.db.mui and E.db.mui.maps.eventTracker then if E.db.mui.maps.eventTracker.worldSoul then E.db.mui.maps.eventTracker.worldSoul = nil + UpdateMessage(L["Event Tracker"] .. " - " .. L["Update Database"], profileVersion) end end end