3 Commits

3 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
RID=$(curl -sf -X POST -H "Authorization: token $GITEA_TOKEN" \ RID=$(curl -sf -X POST -H "Authorization: token $GITEA_TOKEN" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
"$API/repos/$REPO/releases" \ "$API/repos/$REPO/releases" \
-d "$(jq -nc --arg t "$TAG" '{tag_name:$t,name:$t,draft:false,prerelease:false}')" \ -d "$(jq -nc --arg t "$TAG" '{tag_name:$t,name:$t,draft:false,prerelease:false,hide_archive_links:true}')" \
| jq -r '.id') | jq -r '.id')
fi fi
echo "release id: $RID" echo "release id: $RID"
+11 -5
View File
@@ -162,11 +162,17 @@ local function getOptions()
return options return options
end end
local function optFunc() local function optFunc()
-- open the profiles tab before, so the menu expands -- CoA: InterfaceOptionsFrame_OpenToCategory / InterfaceOptionsFrame are nil on 3.3.5;
InterfaceOptionsFrame_OpenToCategory(Mapster.optionsFrames.Profiles) -- fall back to AceConfigDialog which works on all clients.
InterfaceOptionsFrame_OpenToCategory(Mapster.optionsFrames.Mapster) if InterfaceOptionsFrame_OpenToCategory then
InterfaceOptionsFrame:Raise() -- open the profiles tab before, so the menu expands
InterfaceOptionsFrame_OpenToCategory(Mapster.optionsFrames.Profiles)
InterfaceOptionsFrame_OpenToCategory(Mapster.optionsFrames.Mapster)
if InterfaceOptionsFrame then InterfaceOptionsFrame:Raise() end
else
LibStub("AceConfigDialog-3.0"):Open("Mapster")
end
end end
function Mapster:SetupOptions() function Mapster:SetupOptions()
@@ -199,7 +199,7 @@ local function Constructor()
button:SetScript("OnKeyDown", Keybinding_OnKeyDown) button:SetScript("OnKeyDown", Keybinding_OnKeyDown)
button:SetScript("OnMouseDown", Keybinding_OnMouseDown) button:SetScript("OnMouseDown", Keybinding_OnMouseDown)
button:SetScript("OnMouseWheel", Keybinding_OnMouseWheel) button:SetScript("OnMouseWheel", Keybinding_OnMouseWheel)
button:SetScript("OnGamePadButtonDown", Keybinding_OnKeyDown) pcall(button.SetScript, button, "OnGamePadButtonDown", Keybinding_OnKeyDown)
button:SetPoint("BOTTOMLEFT") button:SetPoint("BOTTOMLEFT")
button:SetPoint("BOTTOMRIGHT") button:SetPoint("BOTTOMRIGHT")
button:SetHeight(24) button:SetHeight(24)