From 2dfec8b04797ab9e4288e90e0744d7033346cc07 Mon Sep 17 00:00:00 2001 From: ORelio Date: Wed, 26 Jan 2022 13:19:53 +0100 Subject: [PATCH] Docker: Update start-latest.sh Download MinecraftClient.exe from GitHub instead of AppVeyor --- Docker/start-latest.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Docker/start-latest.sh b/Docker/start-latest.sh index 6c4ff3b0..1cd59d06 100644 --- a/Docker/start-latest.sh +++ b/Docker/start-latest.sh @@ -2,11 +2,11 @@ cd /opt/data || exit 1 -# Get latest Job ID -JOB_ID=$(curl -L https://ci.appveyor.com/api/projects/ORelio/minecraft-console-client | jq -r .build.jobs[0].jobId) +# Get latest release tag +RELEASE_TAG=$(curl -s -v https://github.com/MCCTeam/Minecraft-Console-Client/releases/latest 2>&1 | grep location: | cut -d/ -f8) # Download latest version -curl -L https://ci.appveyor.com/api/buildjobs/"$JOB_ID"/artifacts/MinecraftClient%2Fbin%2FRelease%2FMinecraftClient.exe --output MinecraftClient.exe +curl -L https://github.com/MCCTeam/Minecraft-Console-Client/releases/download/${RELEASE_TAG}/MinecraftClient.exe --output MinecraftClient.exe # Start Client mono MinecraftClient.exe \ No newline at end of file