diff --git a/audiogame-manager.sh b/audiogame-manager.sh index a812308..a1111a4 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -282,6 +282,7 @@ download() { for i in "${source[@]}" ; do local dest="${i##*/}" dest="${dest//%20/ }" + dest="${dest#*\?filename=}" dest="${dest%\?*}" # Remove the destination file if it is empty. test -s "${cache}/${dest}" || rm -f "${cache}/${dest}" 2> /dev/null @@ -1809,7 +1810,7 @@ download "https://erion.cf/files/ag_103.zip" add_launcher "c:\Program Files\blind-drive\Blind Drive.exe" ;; "Bloodshed") - download "http://www.samtupy.com/games/bloodshed.exe" + download "https://gateway.pinata.cloud/ipfs/QmcTCTMep4zp5zTw8ZaXYpjtu9inNPn8bNzwhW6cX97egw?filename=bloodshed.exe" export winVer="win7" install_wine_bottle speechsdk cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/"