Files
coa-weakauras/WeakAurasOptions/VersionCheck.lua
T
NoM0Re a9140e9b9e 5.21.2
(cherry picked from commit 7a8257507e0841523ca39edf7938ddaa6adf7aba)
2026-02-16 11:47:36 -07:00

16 lines
605 B
Lua

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