Skip to content

Commit

Permalink
fixed get-game-versions using Invoke-Webrequest instead of cURL
Browse files Browse the repository at this point in the history
`curl` is an alias for the command `Invoke-WebRequest` ^^'
  • Loading branch information
NielsPilgaard committed Apr 11, 2022
1 parent 7844e5d commit b32a50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-game-versions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ function Validate-SecretsFile {

. "$PSScriptRoot\$secretsFile"

curl -H X-Api-Token:$CURSEFORGE_TOKEN https://minecraft.curseforge.com/api/game/versions >> game-versions.json
curl.exe -H X-Api-Token:$CURSEFORGE_TOKEN https://minecraft.curseforge.com/api/game/versions >> game-versions.json

0 comments on commit b32a50e

Please sign in to comment.