Skip to content

Commit 51bab25

Browse files
committed
fetch patches using wget
1 parent cd2551b commit 51bab25

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

patcher.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,28 @@ shopt -s nocasematch
4040
if [[ -f "$HOME/.bash_profile" ]]; then
4141
DEST_FILE="$HOME/.bash_profile"
4242
if [[ $GPU == *' nvidia '* ]]; then
43+
wget https://github.com/psygreg/shader-patcherx/blob/main/patch-nvidia;
4344
patch_nv
4445
else
46+
wget https://github.com/psygreg/shader-patcherx/blob/main/patch-mesa;
4547
patch_mesa
4648
fi
4749
elif [[ -f "$HOME/.profile" ]]; then
4850
DEST_FILE="$HOME/.profile"
4951
if [[ $GPU == *' nvidia '* ]]; then
52+
wget https://github.com/psygreg/shader-patcherx/blob/main/patch-nvidia;
5053
patch_nv
5154
else
55+
wget https://github.com/psygreg/shader-patcherx/blob/main/patch-mesa;
5256
patch_mesa
5357
fi
5458
elif [[ -f "$HOME/.zshrc" ]]; then
5559
DEST_FILE="$HOME/.zshrc"
5660
if [[ $GPU == *' nvidia '* ]]; then
61+
wget https://github.com/psygreg/shader-patcherx/blob/main/patch-nvidia;
5762
patch_nv
5863
else
64+
wget https://github.com/psygreg/shader-patcherx/blob/main/patch-mesa;
5965
patch_mesa
6066
fi
6167
else

0 commit comments

Comments
 (0)