Skip to content

Commit

Permalink
修正镜像源
Browse files Browse the repository at this point in the history
  • Loading branch information
vlssu committed Jun 1, 2024
1 parent 3672423 commit 75c7b55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions games/rust/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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!"
Expand Down

0 comments on commit 75c7b55

Please sign in to comment.