Skip to content

Commit

Permalink
Initial refactor to use AceConfig
Browse files Browse the repository at this point in the history
This allows all settings (except select/dropdowns) to function, and prevents the error on initialization
  • Loading branch information
solocommand committed Jul 25, 2024
1 parent 6e63920 commit 07dbe36
Show file tree
Hide file tree
Showing 5 changed files with 130 additions and 259 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-packager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Package and Release
uses: BigWigsMods/packager@master
6 changes: 1 addition & 5 deletions Socialite.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ local ldbi = LibStub:GetLibrary('LibDBIcon-1.0')
local function print(...) _G.print("|c259054ffSocialite:|r", ...) end

local function showConfig()
InterfaceOptionsFrame_OpenToCategory(addonName)
InterfaceOptionsFrame_OpenToCategory(addonName)
Settings.OpenToCategory(addonName)
end

local function normal(text)
Expand Down Expand Up @@ -60,9 +59,6 @@ do

addon.db = sv

SlashCmdList.SOCIALITE = showConfig
SLASH_SOCIALITE1 = "/social"
SLASH_SOCIALITE2 = "/socialite"

ldbi:Register(addonName, addon.dataobj, addon.db.minimap)

Expand Down
2 changes: 1 addition & 1 deletion Socialite.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100000
## Interface: 110002
## Title: Socialite
## Notes: A customizable data broker for displaying friends and guild members.
## Author: solocommand
Expand Down
Loading

0 comments on commit 07dbe36

Please sign in to comment.