Allow user to continue patch instead of exit if Proton 6+ not found.

This commit is contained in:
tretrauit 2021-06-23 13:34:11 +00:00
parent 252a6d83e1
commit a9ba73c727

View File

@ -16,8 +16,14 @@ done
if [[ $PROTON6 == false ]]; then if [[ $PROTON6 == false ]]; then
echo "Proton 6/Proton - Experimental not found!" echo "Proton 6/Proton - Experimental not found!"
echo "Make sure you installed Proton 6+ for the game to launch properly." echo "Make sure you installed Proton 6+ for the game to launch properly."
echo "Proton 5 may work for Intel, but not for NVIDIA (it hang)"
read -p "Do you want to proceed? [Y/n] " -n 1 -r
echo
if ! [[ $REPLY =~ ^[Yy]$ ]]
then
exit 1 exit 1
fi fi
fi
echo "Patching dowser.exe --> Cities.exe" echo "Patching dowser.exe --> Cities.exe"
mv dowser.exe dowser.exe.bak mv dowser.exe dowser.exe.bak
ln -sf Cities.exe dowser.exe ln -sf Cities.exe dowser.exe