diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 63f7836..5002b68 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -177,8 +177,8 @@ install_wine_bottle() { export WINEPREFIX="$HOME/.local/wine/${bottle}" # Arguments to the function are dependancies to be installed. (DISPLAY="" wineboot -u - wine msiexec /i z:/usr/share/wine/mono/$(ls -1 /usr/share/wine/mono/) /quiet - wine msiexec /i z:$(ls -1 /usr/share/wine/gecko/*x86.msi) /quiet + wine msiexec /i z:$(find /usr/share/wine/mono -name "wine-mono*x86.msi") /quiet + wine msiexec /i z:$(find /usr/share/wine/gecko -name "wine-gecko*x86.msi") /quiet winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}) | dialog --progressbox "Installing wine bottle, please wait..." -1 -1 }