Fix some problem on NPX4CS_Win_Proton.sh
Fixes: + wrong proton + wineprefix absolute path + still crap
This commit is contained in:
parent
b3ea549ecb
commit
1e715272f9
@ -29,10 +29,11 @@ for idx in ${!PROTONS[@]}; do
|
||||
done
|
||||
echo "Select: "
|
||||
read PROTON_SEL_INT
|
||||
PROTON_SEL=${{PROTONS[PROTON_SEL_INT]}%?}
|
||||
PROTON_SEL_slash=${PROTONS[PROTON_SEL_INT]}
|
||||
PROTON_SEL=${PROTON_SEL_slash%?}
|
||||
echo "Selected $PROTON_SEL, processing..."
|
||||
echo "Creating NotParadoxLauncher script..."
|
||||
echo "WINEPREFIX='./../../compatdata/255710/pfx' $PROTON_SEL/files/bin/wine ./NotParadoxLauncher/bootstrapper-v2.exe" > launcher.sh
|
||||
PREFIXPATH=$(realpath "./../../compatdata/255710/pfx")
|
||||
echo "WINEPREFIX=\"$PREFIXPATH\" \"$PROTON_SEL/files/bin/wine\" ./NotParadoxLauncher/bootstrapper-v2.exe" > launcher.sh
|
||||
chmod +x launcher.sh
|
||||
echo "Done! You can launch NotParadoxLauncher by doing './launcher.sh' in Cities: Skylines dir."
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user