diff --git a/Winegon.sh b/Winegon.sh index ee5d3a3..b4c1361 100755 --- a/Winegon.sh +++ b/Winegon.sh @@ -49,6 +49,8 @@ download_game_10 () { rm -f "Polygon2010.exe" wget "https://setup2010.pizzaboxer.xyz/Polygon2010.exe" env WINEPREFIX=$WINEPREFIXX wine "Polygon2010.exe" + cp -r $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-386164ab165b55af/Microsoft.VC90.CRT/msvcr90.dll $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-386164ab165b55af/Microsoft.VC90.CRT/msvcp90.dll $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-386164ab165b55af/ + cp -r $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-386164ab165b55af/Microsoft.VC90.OPENMP/vcomp90.dll $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-386164ab165b55af/ echo "2010 downloaded and installed!" } @@ -56,6 +58,8 @@ download_game_11 () { rm -f "Polygon2011.exe" wget "https://setup2011.pizzaboxer.xyz/Polygon2011.exe" env WINEPREFIX=$WINEPREFIXX wine "Polygon2011.exe" + cp -r $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-9512c515176f9859/Microsoft.VC90.CRT/msvcr90.dll $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-9512c515176f9859/Microsoft.VC90.CRT/msvcp90.dll $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-9512c515176f9859/ + cp -r $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-9512c515176f9859/Microsoft.VC90.OPENMP/vcomp90.dll $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-9512c515176f9859/ echo "2011 downloaded and installed!" } @@ -63,6 +67,8 @@ download_game_12 () { rm -f "Polygon2012.exe" wget "https://setup2012.pizzaboxer.xyz/Polygon2012.exe" env WINEPREFIX=$WINEPREFIXX wine "Polygon2012.exe" + cp -r $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-f9324578ab26456f/Microsoft.VC90.CRT/msvcr90.dll $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-f9324578ab26456f/Microsoft.VC90.CRT/vcomp90.dll $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-f9324578ab26456f/ + cp -r $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-f9324578ab26456f/Microsoft.VC90.OPENMP/vcomp90.dll $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-f9324578ab26456f/ echo "2012 downloaded and installed!" } @@ -76,7 +82,7 @@ desktop_file_10 () { echo "Type=Application" >> $DESKTOPFILE10 echo "Name=Polygon URL 10" >> $DESKTOPFILE10 echo "Comment=Play Polygon games!" >> $DESKTOPFILE10 - echo "Exec=env WINEPREFIX=$WINEPREFIXX wine $HOME/.wine/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-386164ab165b55af/Polygon.exe %u" >> $DESKTOPFILE10 + echo "Exec=env WINEPREFIX=$WINEPREFIXX wine $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-386164ab165b55af/Polygon.exe %u" >> $DESKTOPFILE10 echo "Categories=Game;" >> $DESKTOPFILE10 echo "MimeType=$MIMETYPE10;" >> $DESKTOPFILE10 @@ -92,7 +98,7 @@ desktop_file_11 () { echo "Type=Application" >> $DESKTOPFILE11 echo "Name=Polygon URL 11" >> $DESKTOPFILE11 echo "Comment=Play Polygon games!" >> $DESKTOPFILE11 - echo "Exec=env WINEPREFIX=$WINEPREFIXX wine $HOME/.wine/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-9512c515176f9859/Polygon.exe %u" >> $DESKTOPFILE11 + echo "Exec=env WINEPREFIX=$WINEPREFIXX wine $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-9512c515176f9859/Polygon.exe %u" >> $DESKTOPFILE11 echo "Categories=Game;" >> $DESKTOPFILE11 echo "MimeType=$MIMETYPE11;" >> $DESKTOPFILE11 @@ -108,7 +114,7 @@ desktop_file_12 () { echo "Type=Application" >> $DESKTOPFILE12 echo "Name=Polygon URL 12" >> $DESKTOPFILE12 echo "Comment=Play Polygon games!" >> $DESKTOPFILE12 - echo "Exec=env WINEPREFIX=$WINEPREFIXX wine $HOME/.wine/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-f9324578ab26456f/Polygon.exe %u" >> $DESKTOPFILE12 + echo "Exec=env WINEPREFIX=$WINEPREFIXX wine $WINEPREFIXX/drive_c/users/$USER/AppData/Local/Project\ Polygon/Versions/version-f9324578ab26456f/Polygon.exe %u" >> $DESKTOPFILE12 echo "Categories=Game;" >> $DESKTOPFILE12 echo "MimeType=$MIMETYPE12;" >> $DESKTOPFILE12