Files
coa-weakauras/WeakAurasOptions/VersionCheck.lua
T
NoM0Re 205567502a 5.20.6
(cherry picked from commit eab1d48d6c69b02d61644eaaa837cbb2c4b021e8)
2026-02-16 08:20:31 -07:00

16 lines
605 B
Lua

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