Skip to content

Commit

Permalink
1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
NoobTaco committed Aug 19, 2024
2 parents ded388b + 4a14e32 commit 47138dd
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 7 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,9 @@ luac.out
*.x86_64
*.hex

.vscode
<<<<<<< HEAD
.vscode
=======
.vscode

>>>>>>> 1.4.2
22 changes: 22 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
<<<<<<< HEAD
"Lua.diagnostics.globals": [
"ReloadUI",
"StaticPopupDialogs",
Expand All @@ -10,5 +11,26 @@
"unpack",
"SetCVar",
"UIParent"
=======
"Lua.runtime.version": "Lua 5.1",
"Lua.runtime.builtin": {
"basic": "disable",
"debug": "disable",
"io": "disable",
"math": "disable",
"os": "disable",
"package": "disable",
"string": "disable",
"table": "disable",
"utf8": "disable"
},
"Lua.workspace.library": [
"~\\.vscode\\extensions\\ketho.wow-api-0.17.4\\Annotations"
],
"Lua.diagnostics.globals": [
"ReloadUI",
"StaticPopupDialogs",
"StaticPopup_Show"
>>>>>>> 1.4.2
]
}
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## [1.4.2]

### Updated

- Updated TOC for all versions of the game

### Added

- Check if Baganator is loaded. If so disable ElvUI bags by default (More bags to be added to check in later version)

## [1.4.1]

### Updated
Expand Down
10 changes: 8 additions & 2 deletions Code.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
-- Don't worry about this
local addon, Engine, ns = ...
local Version = GetAddOnMetadata(addon, "Version")
-- local Version = GetAddOnMetadata(addon, "Version")
local Version = C_AddOns.GetAddOnMetadata(addon, "Version")

-- Cache Lua / WoW API
local format = string.format
Expand Down Expand Up @@ -195,7 +196,7 @@ local InstallerData = {
end)
PluginInstallFrame.Option2:SetText("Healer")
-- Check if WA is installed
if (IsAddOnLoaded("WeakAuras")) then
if (C_AddOns.IsAddOnLoaded("WeakAuras")) then
if E.Wrath then -- WOTLK
PluginInstallFrame.Option3:Show()
PluginInstallFrame.Option3:SetScript("OnClick", function()
Expand All @@ -204,6 +205,11 @@ local InstallerData = {
PluginInstallFrame.Option3:SetText("Luxthos WA")
end
end
-- Check if Baganator is loaded and disable ElvUI bags
-- TODO: Add more bag mod checks
if (C_AddOns.IsAddOnLoaded("Baganator")) then
E.private["bags"]["enable"] = false
end
end,
[5] = function()
PluginInstallFrame.SubTitle:SetText("Installation Complete")
Expand Down
5 changes: 1 addition & 4 deletions NoobTacoUI.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
## Interface: 100205
## Interface-Classic: 11500
## Interface-BCC: 20504
## Interface-Wrath: 30403
## Interface: 11503, 40400, 111000, 111002
## Title: |cFF16C3F2NoobTaco|r|cFFFFFFFFUI|r
## Author: NoobTaco
## Version: 1.4.2
Expand Down

0 comments on commit 47138dd

Please sign in to comment.