chore: Move patch-gmod into subfolder to ensure temporarily files are also cleared

This commit is contained in:
Kyle Gospodnetich 2023-09-01 16:15:00 -07:00
parent d901a8af9d
commit 026dacb480
2 changed files with 8 additions and 6 deletions

View File

@ -120,12 +120,13 @@ fix-tf2-tcmalloc:
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
chmod +x /tmp/patch-gmod
/tmp/patch-gmod
-P /tmp/patch-gmod/GModCEFCodecFix-Linux
chmod +x /tmp/patch-gmod/GModCEFCodecFix-Linux
/tmp/patch-gmod/GModCEFCodecFix-Linux
rm -rf /tmp/patch-gmod
enable-vapor-theme:

View File

@ -93,12 +93,13 @@ fix-tf2-tcmalloc:
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
chmod +x /tmp/patch-gmod
/tmp/patch-gmod
-P /tmp/patch-gmod/GModCEFCodecFix-Linux
chmod +x /tmp/patch-gmod/GModCEFCodecFix-Linux
/tmp/patch-gmod/GModCEFCodecFix-Linux
rm -rf /tmp/patch-gmod
enable-vapor-theme: