Skip to content

Commit

Permalink
Updated to 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
NoobTaco committed Aug 19, 2024
1 parent 556b407 commit 4a14e32
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 7 deletions.
22 changes: 22 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"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"
]
}
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
7 changes: 2 additions & 5 deletions NoobTacoUI.toc
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
## 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.1
## Version: 1.4.2
## Notes: Contains layouts from NoobTacoUI
## RequiredDeps: ElvUI
## DefaultState: enabled
Expand Down

0 comments on commit 4a14e32

Please sign in to comment.