Added Studio links to script

This commit is contained in:
Paul Black 2022-07-17 00:32:36 -06:00
parent e5042e1668
commit de10f225c7

View file

@ -163,7 +163,7 @@ url_handler_12 () {
}
install_winetricks_dependencies () {
env WINEPREFIX=$WINEPREFIXX winetricks --unattended vcrun2008 mfc90
env WINEPREFIX=$WINEPREFIXX winetricks --unattended vcrun2008 vcrun2015 mfc90
}
resync_databases () {
@ -177,6 +177,9 @@ echo "type 1 to install every client"
echo "type 2 to install 2010"
echo "type 3 to install 2011"
echo "type 4 to install 2012"
echo "type 5 to start 2010 Studio"
echo "type 6 to start 2011 Studio"
echo "type 7 to start 2012 Studio"
echo "then press enter"
read what
@ -226,8 +229,23 @@ else
resync_databases
install_winetricks_dependencies
else
echo "No valid option specified"
exit
if [[ $what == 5 ]]; then
echo "Selected to start 2010 Studio"
env WINEPREFIX=$WINEPREFIXX wine $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-386164ab165b55af/PolygonStudio.exe
else
if [[ $what == 6 ]]; then
echo "Selected to start 2011 Studio"
env WINEPREFIX=$WINEPREFIXX wine $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-9512c515176f9859/PolygonStudio.exe
else
if [[ $what == 7 ]]; then
echo "Selected to start 2012 Studio"
env WINEPREFIX=$WINEPREFIXX wine $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-f9324578ab26456f/PolygonStudio.exe
else
echo "No valid option specified"
exit
fi
fi
fi
fi
fi
fi