Okay don't do scripting after midnight
This commit is contained in:
parent
f222db8796
commit
2d6d62fe31
1 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@ WINEPREFIXX=$HOME/.local/share/polygon-prefix
|
||||||
WINEBIN=Default
|
WINEBIN=Default
|
||||||
|
|
||||||
# If the install path for Polygon changes, change this variable
|
# 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
|
if [[ ($WINEBIN == Default) ]]; then
|
||||||
WINEBIN=$(which wine)
|
WINEBIN=$(which wine)
|
||||||
|
@ -271,15 +271,15 @@ else
|
||||||
else
|
else
|
||||||
if [[ $what == 5 ]]; then
|
if [[ $what == 5 ]]; then
|
||||||
echo "Selected to start 2010 Studio"
|
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
|
else
|
||||||
if [[ $what == 6 ]]; then
|
if [[ $what == 6 ]]; then
|
||||||
echo "Selected to start 2011 Studio"
|
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
|
else
|
||||||
if [[ $what == 7 ]]; then
|
if [[ $what == 7 ]]; then
|
||||||
echo "Selected to start 2012 Studio"
|
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
|
else
|
||||||
if [[ $what == 8 ]]; then
|
if [[ $what == 8 ]]; then
|
||||||
echo "Killed wine processes in prefix"
|
echo "Killed wine processes in prefix"
|
||||||
|
|
Loading…
Reference in a new issue