We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72bb4a0 commit 2dfec8bCopy full SHA for 2dfec8b
Docker/start-latest.sh
@@ -2,11 +2,11 @@
2
3
cd /opt/data || exit 1
4
5
-# Get latest Job ID
6
-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)
7
8
# Download latest version
9
-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
10
11
# Start Client
12
mono MinecraftClient.exe
0 commit comments