Skip to content

Commit

Permalink
Bump version to 1.5.6; update changelog with profile management impro…
Browse files Browse the repository at this point in the history
…vements and SetCVar adjustments
  • Loading branch information
NoobTaco committed Dec 17, 2024
1 parent b0ea407 commit 798216d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion NoobTacoUI.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 11505, 40401, 110005
## Title: |cFF16C3F2NoobTaco|r|cFFFFFFFFUI|r
## Author: NoobTaco
## Version: 1.5.5
## Version: 1.5.6
## Notes: Contains layouts from NoobTaco
## RequiredDeps: ElvUI
## DefaultState: enabled
Expand Down
28 changes: 28 additions & 0 deletions core/Code.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
-- CHANGELOG --------------------------------------------------------------------
--[[
Version 1.5.0 - Initial setup and configuration
- Added initial setup and configuration for the addon
Version 1.5.2 - Installation improvements
- Refactored installation process
- Fixed issues with the installation process
Version 1.5.5 - Nameplates improvements and CVAR setting
- Updated the colors for class resources combo points
- Adjusted the reaction colors for nameplates
- Added support for new nameplate styles
- Improved performance of nameplate updates
- Fixed an issue with nameplate visibility in certain scenarios
Version 1.5.6 - Profile management improvements
- Added dialog pop-up for creating a new ElvUI profile
- Added confirmation dialog for overriding the current profile
- Added CVAR setting for SoftTargetInteract to 3
]]
-- Don't worry about this
local addon, Engine, ns = ...
-- local Version = GetAddOnMetadata(addon, "Version")
Expand Down Expand Up @@ -340,6 +361,10 @@ end
-- Create a unique table for our plugin
P[MyPluginName] = {}

-- Declare SetCVar as a global function to suppress the warning
_G.SetCVar = _G.SetCVar or function()
end

-- This function will handle initialization of the addon
function mod:Initialize()
-- Initiate installation process if ElvUI install is complete and our plugin install has not yet been run
Expand All @@ -351,6 +376,9 @@ function mod:Initialize()

-- Insert our options table when ElvUI config is loaded
EP:RegisterPlugin(addon, InsertOptions)

-- Add SoftTargetInteract to 3 so it loads after ElvUI
SetCVar("SoftTargetInteract", 3)
end

-- Register module with callback so it gets initialized when ready
Expand Down

0 comments on commit 798216d

Please sign in to comment.