mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-04 03:39:58 +00:00
fix: Correct issue with patch-gmod just command
This commit is contained in:
parent
4790e60c79
commit
bfb53a7540
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user