Files
coa-weakauras/WeakAurasOptions/VersionCheck.lua
T
NoM0Re 05f060140a 5.21.0
(cherry picked from commit 0b28c5780e55ac544c1acace487aad0a8d8faf28)
2026-02-16 11:43:44 -07:00

16 lines
605 B
Lua

local AddonName = ...
local Private = select(2, ...)
local L = WeakAuras.L
local optionsVersion = "5.21.0 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