Defensively swap install-vrcx.sh to use curl (#828)

This commit is contained in:
Regalia
2024-06-26 13:29:23 +02:00
committed by GitHub
parent c18701029c
commit 6151ebb232

View File

@@ -64,7 +64,7 @@ if [[ ! -d $WINEPREFIX/drive_c/vrcx ]]; then
fi
cd $WINEPREFIX/drive_c/vrcx
wget -q --show-progress $download_url -O vrcx.zip
curl -L $download_url -o vrcx.zip
unzip -uq vrcx.zip
rm vrcx.zip
@@ -82,7 +82,7 @@ if [[ -d $HOME/.local/share/applications ]]; then
if [[ ! -f $HOME/.local/share/icons/VRCX.png ]]; then
echo "Install VRCX.png to ~/.local/share/icons"
cd ~/.local/share/icons/
wget -q --show-progress https://raw.githubusercontent.com/vrcx-team/VRCX/master/VRCX.png
curl -L https://raw.githubusercontent.com/vrcx-team/VRCX/master/VRCX.png -o VRCX.png
fi
echo "Install vrcx.desktop to ~/.local/share/applications"