Dropbox links no longer require the get_installer function.
This commit is contained in:
parent
ee1f9d2891
commit
802e5d9285
@ -320,6 +320,7 @@ download() {
|
||||
for i in "${source[@]}" ; do
|
||||
local dest="${i##*/}"
|
||||
dest="${dest//%20/ }"
|
||||
dest="${dest%\?*}"
|
||||
# Remove the destination file if it is empty.
|
||||
test -s "${cache}/${dest}" || rm -f "${cache}/${dest}" 2> /dev/null
|
||||
if [[ "${redownload}" == "true" ]] && [[ -e "${cache}/${dest}" ]]; then
|
||||
@ -1739,8 +1740,7 @@ case "${game}" in
|
||||
"Coin Collector")
|
||||
export WINEARCH=win64
|
||||
export winVer="win7"
|
||||
get_installer "coin collector.rar" "https://www.dropbox.com/s/v55q7t9n84otmcd/coin%20collector.rar?dl=1"
|
||||
download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll"
|
||||
download "https://www.dropbox.com/s/v55q7t9n84otmcd/coin%20collector.rar?dl=1" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll"
|
||||
install_wine_bottle
|
||||
unrar x "$cache/coin collector.rar" -op"$WINEPREFIX/drive_c/Program Files"
|
||||
find "$WINEPREFIX/drive_c/Program Files/coin collector" -type f -name "nvdaControllerClient64.dll" -exec cp -v "$cache/nvda2speechd64.dll" "{}" \;
|
||||
|
Loading…
Reference in New Issue
Block a user