from retail

This commit is contained in:
NoM0Re
2025-01-25 23:37:36 +01:00
parent 4a326118da
commit 667a2f3f50
34 changed files with 788 additions and 242 deletions
+23
View File
@@ -0,0 +1,23 @@
---@type string
local AddonName = ...
---@class Private
local Private = select(2, ...)
local L = WeakAuras.L
local optionsVersion = "@project-version@"
--@debug@
optionsVersion = "Dev"
--@end-debug@
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)
---@diagnostic disable-next-line: duplicate-set-field
WeakAuras.IsLibsOk = function() return false end
---@diagnostic disable-next-line: duplicate-set-field
WeakAuras.ToggleOptions = function()
WeakAuras.prettyPrint(message)
end
end