From de10f225c7be3edf05494b183f5e838c77167e57 Mon Sep 17 00:00:00 2001 From: Techwizz Date: Sun, 17 Jul 2022 00:32:36 -0600 Subject: [PATCH] Added Studio links to script --- Winegon.sh | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/Winegon.sh b/Winegon.sh index e3a5ab5..ee5d3a3 100755 --- a/Winegon.sh +++ b/Winegon.sh @@ -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