Skip to content

Commit

Permalink
Merge pull request #10 from rootkit1337tv/main
Browse files Browse the repository at this point in the history
Added support for automation
  • Loading branch information
Nnoggie authored Oct 23, 2024
2 parents 0207b2f + ad1021d commit 9a6009e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
4 changes: 2 additions & 2 deletions WagoUI/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# 1.1.14 (2024-10-14)
# 1.2.0 (2024-10-23)

- Nil issue fix
- Patch 10.0.5 Update
4 changes: 2 additions & 2 deletions WagoUI/WagoUI.toc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## Interface: 110002, 40400
## Interface: 110005, 40400
## Title: |cFFC1272DWago|rUI
## IconTexture: Interface\AddOns\WagoUI\media\logoSmall.png
## Author: The Wago Team
## Version: 1.1.14
## Version: 1.2.0
## DefaultState: Enabled
## LoadOnDemand: 0
## OptionalDeps: WagoUI_Creator, WagoUI_Storage
Expand Down
4 changes: 2 additions & 2 deletions WagoUI_Creator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# 1.1.13 (2024-10-07)
# 1.2.0 (2024-10-23)

- Skip version check if user is using internal guild version of BigWigs
- Patch 10.0.5 Update
4 changes: 2 additions & 2 deletions WagoUI_Creator/WagoUI_Creator.toc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## Interface: 110002, 40400
## Interface: 110005, 40400
## Title: |cFFC1272DWago|rUI Creator
## IconTexture: Interface\AddOns\WagoUI_Creator\media\logoSmall.png
## Author: The Wago Team
## Version: 1.1.13
## Version: 1.2.0
## DefaultState: Enabled
## LoadOnDemand: 0
## SavedVariables: WagoUICreatorDB
Expand Down
8 changes: 8 additions & 0 deletions WagoUI_Libraries/LibAddonProfiles/modules/Details.lua
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,14 @@ local m = {
importProfile = function(self, profileString, profileKey, fromIntro)
if not profileString then return end
Details:ImportProfile(profileString, profileKey, nil, true, true)
--import automation
profileString = DetailsFramework:Trim(profileString)
local profileData = Details:DecompressData(profileString, "print")
if profileData then
for i, v in Details:ListInstances() do
DetailsFramework.table.copy(v.hide_on_context, profileData.profile.instances[i].hide_on_context)
end
end
end,
exportProfile = function(self, profileKey)
if not profileKey then return end
Expand Down

0 comments on commit 9a6009e

Please sign in to comment.