diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 2f93975..709a7cd 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -37,14 +37,10 @@ jobs: RID=$(curl -sf -X POST -H "Authorization: token $GITEA_TOKEN" \ -H "Content-Type: application/json" \ "$API/repos/$REPO/releases" \ - -d "$(jq -nc --arg t "$TAG" '{tag_name:$t,name:$t,draft:false,prerelease:false,hide_archive_links:true}')" \ + -d "$(jq -nc --arg t "$TAG" '{tag_name:$t,name:$t,draft:false,prerelease:false}')" \ | jq -r '.id') fi echo "release id: $RID" - # Gitea honors hide_archive_links only on edit, not create — PATCH it - # so the auto-generated Source Code (zip/tar.gz) links stay hidden. - curl -sf -X PATCH -H "Authorization: token $GITEA_TOKEN" -H "Content-Type: application/json" \ - "$API/repos/$REPO/releases/$RID" -d '{"hide_archive_links":true}' >/dev/null || true # Upload every dist/*.zip. Per-asset failures don't fail the job — # we want partial releases to still publish rather than block the # whole pipeline on one big file. diff --git a/Clique/Clique.lua b/Clique/Clique.lua index ea94967..e6c8cae 100644 --- a/Clique/Clique.lua +++ b/Clique/Clique.lua @@ -696,11 +696,7 @@ function addon:ApplyAttributes() end function addon:TalentGroupChanged() - if SpecializationUtil and SpecializationUtil.GetActiveSpecialization then - self.talentGroup = SpecializationUtil.GetActiveSpecialization() - else - self.talentGroup = (GetActiveTalentGroup and GetActiveTalentGroup()) or 1 - end + self.talentGroup = SpecializationUtil.GetActiveSpecialization() if self.settings.specswap then local currentProfile = self.db:GetCurrentProfile() diff --git a/Clique/config/BindConfig.lua b/Clique/config/BindConfig.lua index 30b7aef..fab9cfd 100644 --- a/Clique/config/BindConfig.lua +++ b/Clique/config/BindConfig.lua @@ -13,12 +13,8 @@ local MAX_ROWS = 12 function CliqueConfig:ShowWithSpellBook() self:ClearAllPoints() - if AscensionSpellbookFrame then - self:SetParent(AscensionSpellbookFrame) - self:SetPoint("LEFT", AscensionSpellbookFrame, "RIGHT", 55, 0) - else - self:SetPoint("CENTER", UIParent, "CENTER") - end + self:SetParent(AscensionSpellbookFrame) + self:SetPoint("LEFT", AscensionSpellbookFrame, "RIGHT", 55, 0) self:Show() end diff --git a/Clique/config/BlizzardFramesConfig.lua b/Clique/config/BlizzardFramesConfig.lua index 1529842..e5c4439 100644 --- a/Clique/config/BlizzardFramesConfig.lua +++ b/Clique/config/BlizzardFramesConfig.lua @@ -122,4 +122,4 @@ function panel.okay() opt.boss = not not panel.boss:GetChecked() end -if InterfaceOptions_AddCategory then InterfaceOptions_AddCategory(panel, addon.optpanels.ABOUT) end +InterfaceOptions_AddCategory(panel, addon.optpanels.ABOUT) diff --git a/Clique/config/DenylistConfig.lua b/Clique/config/DenylistConfig.lua index a1c89f3..a5af3da 100644 --- a/Clique/config/DenylistConfig.lua +++ b/Clique/config/DenylistConfig.lua @@ -166,4 +166,4 @@ function panel.refresh() panel:UpdateScrollFrame() end -if InterfaceOptions_AddCategory then InterfaceOptions_AddCategory(panel, addon.optpanels.ABOUT) end +InterfaceOptions_AddCategory(panel, addon.optpanels.ABOUT) diff --git a/Clique/config/OptionsPanel.lua b/Clique/config/OptionsPanel.lua index 24d519a..b754841 100644 --- a/Clique/config/OptionsPanel.lua +++ b/Clique/config/OptionsPanel.lua @@ -17,7 +17,7 @@ local L = addon.L --- and it's been moved from AddonCore due to taint issues. -------------------------------------------------------------------------]] -- -local about = CreateFrame("Frame", addonName .. "AboutPanel", InterfaceOptionsFramePanelContainer or UIParent) +local about = CreateFrame("Frame", addonName .. "AboutPanel", InterfaceOptionsFramePanelContainer) about.name = addonName about:Hide() @@ -76,7 +76,7 @@ addon.optpanels = addon.optpanels or {} addon.optpanels.ABOUT = about about:SetScript("OnShow", about.OnShow) -if InterfaceOptions_AddCategory then InterfaceOptions_AddCategory(addon.optpanels.ABOUT) end +InterfaceOptions_AddCategory(addon.optpanels.ABOUT) --[[------------------------------------------------------------------------- -- End Dialog @@ -551,4 +551,4 @@ panel.cancel = panel.refresh function addon:UpdateOptionsPanel() if panel:IsVisible() and panel.initialized then panel.refresh() end end -if InterfaceOptions_AddCategory then InterfaceOptions_AddCategory(panel, addon.optpanels.ABOUT) end +InterfaceOptions_AddCategory(panel, addon.optpanels.ABOUT) diff --git a/Clique/images/icon_circle_128.blp b/Clique/images/icon_circle_128.blp deleted file mode 100644 index 8ee1e61..0000000 Binary files a/Clique/images/icon_circle_128.blp and /dev/null differ diff --git a/Clique/images/icon_circle_128.tga b/Clique/images/icon_circle_128.tga new file mode 100644 index 0000000..0e40d0d Binary files /dev/null and b/Clique/images/icon_circle_128.tga differ diff --git a/Clique/images/icon_square_64.blp b/Clique/images/icon_square_64.blp deleted file mode 100644 index 1874f20..0000000 Binary files a/Clique/images/icon_square_64.blp and /dev/null differ diff --git a/Clique/images/icon_square_64.tga b/Clique/images/icon_square_64.tga new file mode 100644 index 0000000..362fcb1 Binary files /dev/null and b/Clique/images/icon_square_64.tga differ