From 690c0b05ef76e3f9efe791aff4db8d50d139ed74 Mon Sep 17 00:00:00 2001 From: shaga <14+shaga@noreply.octowow.st> Date: Tue, 13 Oct 2026 17:09:02 +0000 Subject: [PATCH] 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. --- ShaguTweaks-tbc.toc => ShagaTweaks-tbc.toc | 2 +- ShaguTweaks.toc => ShagaTweaks.toc | 2 +- main.lua | 4 ++-- mods/unitframes-bighealth.lua | 2 +- mods/unitframes-classportrait.lua | 2 +- mods/worldmap-colors.lua | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) rename ShaguTweaks-tbc.toc => ShagaTweaks-tbc.toc (96%) rename ShaguTweaks.toc => ShagaTweaks.toc (97%) diff --git a/ShaguTweaks-tbc.toc b/ShagaTweaks-tbc.toc similarity index 96% rename from ShaguTweaks-tbc.toc rename to ShagaTweaks-tbc.toc index 1fc5646..0a6cd13 100644 --- a/ShaguTweaks-tbc.toc +++ b/ShagaTweaks-tbc.toc @@ -1,5 +1,5 @@ ## Interface: 20400 -## Title: |cffffcc00Shagu|cffffffffTweaks |cffff5555[BETA] +## Title: |cffffcc00Shaga|cffffffffTweaks |cffff5555[BETA] ## Author: Shagu ## Notes: A collection of tweaks and enhancements to the Default UI ## Notes-ruRU: Коллекция настроек и улучшений для стандартного пользовательского интерфейса. diff --git a/ShaguTweaks.toc b/ShagaTweaks.toc similarity index 97% rename from ShaguTweaks.toc rename to ShagaTweaks.toc index ed15fa1..01acf85 100644 --- a/ShaguTweaks.toc +++ b/ShagaTweaks.toc @@ -1,5 +1,5 @@ ## Interface: 11200 -## Title: |cffffcc00Shagu|cffffffffTweaks +## Title: |cffffcc00Shaga|cffffffffTweaks ## Author: Shagu ## Notes: A collection of tweaks and enhancements to the Default UI ## Notes-ruRU: Коллекция настроек и улучшений для стандартного пользовательского интерфейса. diff --git a/main.lua b/main.lua index 0892d2f..4ef5503 100644 --- a/main.lua +++ b/main.lua @@ -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) diff --git a/mods/unitframes-bighealth.lua b/mods/unitframes-bighealth.lua index f43afe7..a0f063d 100644 --- a/mods/unitframes-bighealth.lua +++ b/mods/unitframes-bighealth.lua @@ -13,7 +13,7 @@ local module = ShaguTweaks:register({ local addonpath local tocs = { "", "-master", "-tbc", "-wotlk" } for _, name in pairs(tocs) do - local current = string.format("ShaguTweaks%s", name) + local current = string.format("ShagaTweaks%s", name) local _, title = GetAddOnInfo(current) if title then addonpath = "Interface\\AddOns\\" .. current diff --git a/mods/unitframes-classportrait.lua b/mods/unitframes-classportrait.lua index a7d802d..05bc41a 100644 --- a/mods/unitframes-classportrait.lua +++ b/mods/unitframes-classportrait.lua @@ -4,7 +4,7 @@ local T = ShaguTweaks.T local addonpath local tocs = { "", "-master", "-tbc", "-wotlk" } for _, name in pairs(tocs) do - local current = string.format("ShaguTweaks%s", name) + local current = string.format("ShagaTweaks%s", name) local _, title = GetAddOnInfo(current) if title then addonpath = "Interface\\AddOns\\" .. current diff --git a/mods/worldmap-colors.lua b/mods/worldmap-colors.lua index 09208fc..74b08f7 100644 --- a/mods/worldmap-colors.lua +++ b/mods/worldmap-colors.lua @@ -12,7 +12,7 @@ local module = ShaguTweaks:register({ local addonpath local tocs = { "", "-master", "-tbc", "-wotlk" } for _, name in pairs(tocs) do - local current = string.format("ShaguTweaks%s", name) + local current = string.format("ShagaTweaks%s", name) local _, title = GetAddOnInfo(current) if title then addonpath = "Interface\\AddOns\\" .. current