Add files via upload

This commit is contained in:
2026-07-19 09:59:56 +02:00
committed by GitHub
parent d06c1a4027
commit 498b5ddf2e
2 changed files with 23 additions and 1 deletions
@@ -2,7 +2,29 @@
local version = tonumber(SUPERWOW_VERSION)
if not version or version < 2.2 then
StaticPopupDialogs["UPDATE_SUPERWOW"] = {
text = "No SuperWoW detected. Please download latest version.",
button1 = "Download",
button2 = TEXT(IGNORE),
OnAccept = function(data)
local url = "https://github.com/balakethelock/SuperWoW/releases/tag/Release"
if not ChatFrameEditBox:IsVisible() then
ChatFrameEditBox:Show()
end
ChatFrameEditBox:SetText(url)
ChatFrameEditBox:SetFocus()
ChatFrameEditBox:HighlightText()
end,
timeout = 0,
exclusive = 1,
whileDead = 1,
hideOnEscape = 1
};
DEFAULT_CHAT_FRAME:AddMessage("No SuperWoW detected. Please download latest version https://github.com/balakethelock/SuperWoW ");
StaticPopup_Show("UPDATE_SUPERWOW");
return
end