diff --git a/Winegon.sh b/Winegon.sh index a15e69c..2f43e64 100755 --- a/Winegon.sh +++ b/Winegon.sh @@ -6,7 +6,7 @@ WINEPREFIXX=$HOME/.local/share/polygon-prefix WINEBIN=Default # If the install path for Polygon changes, change this variable -POLYGONPATH=$WINEPREFIXX'/drive_c/Program\ Files\ \(x86\)/Project\ Polygon' +POLYGONPATH=$WINEPREFIXX/drive_c/Program\ Files\ \(x86\)/Project\ Polygon if [[ ($WINEBIN == Default) ]]; then WINEBIN=$(which wine) @@ -271,15 +271,15 @@ else else if [[ $what == 5 ]]; then echo "Selected to start 2010 Studio" - env WINEPREFIX=$WINEPREFIXX wine $POLYGONPATH'/Versions/version-386164ab165b55af/PolygonStudio.exe' + env WINEPREFIX=$WINEPREFIXX wine "$POLYGONPATH/Versions/version-386164ab165b55af/PolygonStudio.exe" else if [[ $what == 6 ]]; then echo "Selected to start 2011 Studio" - env WINEPREFIX=$WINEPREFIXX wine $POLYGONPATH'/Versions/version-9512c515176f9859/PolygonStudio.exe' + env WINEPREFIX=$WINEPREFIXX wine "$POLYGONPATH/Versions/version-9512c515176f9859/PolygonStudio.exe" else if [[ $what == 7 ]]; then echo "Selected to start 2012 Studio" - env WINEPREFIX=$WINEPREFIXX wine $POLYGONPATH'/Versions/version-f9324578ab26456f/PolygonStudio.exe' + env WINEPREFIX=$WINEPREFIXX wine "$POLYGONPATH/Versions/version-f9324578ab26456f/PolygonStudio.exe" else if [[ $what == 8 ]]; then echo "Killed wine processes in prefix"