fix: Correct issue with patch-gmod just command

This commit is contained in:
Kyle Gospodnetich 2023-09-25 18:31:21 -07:00
parent 4790e60c79
commit bfb53a7540
2 changed files with 4 additions and 4 deletions

View File

@ -156,14 +156,14 @@ patch-tf2-tcmalloc:
echo "TF2 patch complete."
fi
# Patch GMod's 64-bit beta to work properly on Linux
# Patch GMod's 64-bit beta to work properly on Linux (https://github.com/solsticegamestudios/GModCEFCodecFix)
patch-gmod:
#!/usr/bin/env bash
mkdir -p /tmp/patch-gmod
wget \
$(curl -s https://api.github.com/repos/solsticegamestudios/GModCEFCodecFix/releases/latest | \
jq -r ".assets[] | select(.name | test(\"GModCEFCodecFix-Linux\")) | .browser_download_url") \
-P /tmp/patch-gmod/GModCEFCodecFix-Linux
-P /tmp/patch-gmod
chmod +x /tmp/patch-gmod/GModCEFCodecFix-Linux
/tmp/patch-gmod/GModCEFCodecFix-Linux
rm -rf /tmp/patch-gmod

View File

@ -99,14 +99,14 @@ patch-tf2-tcmalloc:
ghcr.io/maisatanel/tcmalloc-hl2-fixer:main
echo "TF2 patch complete."
# Patch GMod's 64-bit beta to work properly on Linux
# Patch GMod's 64-bit beta to work properly on Linux (https://github.com/solsticegamestudios/GModCEFCodecFix)
patch-gmod:
#!/usr/bin/env bash
mkdir -p /tmp/patch-gmod
wget \
$(curl -s https://api.github.com/repos/solsticegamestudios/GModCEFCodecFix/releases/latest | \
jq -r ".assets[] | select(.name | test(\"GModCEFCodecFix-Linux\")) | .browser_download_url") \
-P /tmp/patch-gmod/GModCEFCodecFix-Linux
-P /tmp/patch-gmod
chmod +x /tmp/patch-gmod/GModCEFCodecFix-Linux
/tmp/patch-gmod/GModCEFCodecFix-Linux
rm -rf /tmp/patch-gmod