mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Docker: Update start-latest.sh
Download MinecraftClient.exe from GitHub instead of AppVeyor
This commit is contained in:
parent
72bb4a0dc4
commit
2dfec8b047
1 changed files with 3 additions and 3 deletions
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
cd /opt/data || exit 1
|
cd /opt/data || exit 1
|
||||||
|
|
||||||
# Get latest Job ID
|
# Get latest release tag
|
||||||
JOB_ID=$(curl -L https://ci.appveyor.com/api/projects/ORelio/minecraft-console-client | jq -r .build.jobs[0].jobId)
|
RELEASE_TAG=$(curl -s -v https://github.com/MCCTeam/Minecraft-Console-Client/releases/latest 2>&1 | grep location: | cut -d/ -f8)
|
||||||
|
|
||||||
# Download latest version
|
# 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
|
# Start Client
|
||||||
mono MinecraftClient.exe
|
mono MinecraftClient.exe
|
||||||
Loading…
Add table
Add a link
Reference in a new issue