Rename the addon to ShagaTweaks

The addon folder, toc files and title are now ShagaTweaks, and the modules
that load their own textures look them up in the ShagaTweaks folder.

The Lua namespace (ShaguTweaks) and the saved variables (ShaguTweaks_config,
ShaguTweaks_cache) keep their names, so existing settings carry over and
addons that integrate with ShaguTweaks keep working. /st also answers to
/shagatweaks.
This commit is contained in:
2026-10-13 17:09:02 +00:00
parent 7d670218a9
commit 690c0b05ef
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -107,7 +107,7 @@ local stdout = function(msg)
end
-- add /st slash command for custom config overwrites
SLASH_STWEAKS1, SLASH_STWEAKS2, SLASH_STWEAKS3 = "/st", "/stweaks", "/shagutweaks"
SLASH_STWEAKS1, SLASH_STWEAKS2, SLASH_STWEAKS3, SLASH_STWEAKS4 = "/st", "/stweaks", "/shagatweaks", "/shagutweaks"
SlashCmdList["STWEAKS"] = function(msg)
local cmd = { ShaguTweaks.strsplit(" ", msg) }
if cmd[1] == "reset" then
@@ -138,7 +138,7 @@ SlashCmdList["STWEAKS"] = function(msg)
stdout(string.format(text, index, input), 1, 1, 1, 1)
end
else
stdout("|cffffcc00Shagu|rTweaks overwrites:", 1, 1, 1, 1)
stdout("|cffffcc00Shaga|rTweaks overwrites:", 1, 1, 1, 1)
stdout("|cffffcc00|r", 1, 1, 1, 1)
stdout("|cffff5555Warning:|r This is for experienced users only. Do not change values unless you know what you're doing. Use '/st reset' before submitting any bug.", 1, .8, .8, 1)
stdout("|cffffcc00|r", 1, 1, 1, 1)