Files
coa-weakauras/WeakAurasOptions/VersionCheck.lua
T
NoM0Re 83c8ebe861 5.20.7
(cherry picked from commit 384e558df3ea25bab143ccc4043b91b5e7454e62)
2026-02-16 08:28:24 -07:00

16 lines
605 B
Lua

local AddonName = ...
local Private = select(2, ...)
local L = WeakAuras.L
local optionsVersion = "5.20.7 Beta"
if optionsVersion ~= WeakAuras.versionString then
local message = string.format(L["The WeakAuras Options Addon version %s doesn't match the WeakAuras version %s. If you updated the addon while the game was running, try restarting World of Warcraft. Otherwise try reinstalling WeakAuras"],
optionsVersion, WeakAuras.versionString)
WeakAuras.IsLibsOk = function() return false end
WeakAuras.ToggleOptions = function()
WeakAuras.prettyPrint(message)
end
end