Okay don't do scripting after midnight

This commit is contained in:
Paul Black 2022-07-25 06:31:51 +00:00
parent f222db8796
commit 2d6d62fe31

View file

@ -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"