diff --git a/games/rust/entrypoint.sh b/games/rust/entrypoint.sh index 59cdd9b0b..04b85f725 100644 --- a/games/rust/entrypoint.sh +++ b/games/rust/entrypoint.sh @@ -19,7 +19,7 @@ echo ":/home/container$ ${MODIFIED_STARTUP}" if [[ "${FRAMEWORK}" == "carbon" ]]; then # Carbon: https://github.com/CarbonCommunity/Carbon.Core echo "Updating Carbon..." - curl -sSL "https://ghproxy.com/https://github.com/CarbonCommunity/Carbon.Core/releases/download/production_build/Carbon.Linux.Release.tar.gz" | tar zx + curl -sSL "https://mirror.ghproxy.com//https://github.com/CarbonCommunity/Carbon.Core/releases/download/production_build/Carbon.Linux.Release.tar.gz" | tar zx echo "Done updating Carbon!" export DOORSTOP_ENABLED=1 @@ -29,7 +29,7 @@ if [[ "${FRAMEWORK}" == "carbon" ]]; then elif [[ "$OXIDE" == "1" ]] || [[ "${FRAMEWORK}" == "oxide" ]]; then # Oxide: https://github.com/OxideMod/Oxide.Rust echo "Updating uMod..." - curl -sSL "https://ghproxy.com/https://github.com/OxideMod/Oxide.Rust/releases/latest/download/Oxide.Rust-linux.zip" > umod.zip + curl -sSL "https://mirror.ghproxy.com//https://github.com/OxideMod/Oxide.Rust/releases/latest/download/Oxide.Rust-linux.zip" > umod.zip unzip -o -q umod.zip rm umod.zip echo "Done updating uMod!"