Added installation directory to write to config.

Fixes the issue with launching due to wrong path.
This commit is contained in:
Nicholas George 2020-09-29 15:26:25 -05:00
parent 5ab1fbb77c
commit a93caae282

View File

@ -154,6 +154,7 @@ launchscript () {
echo "export WINE=$WINE" >> "$WORLDSDIR/wrldslinux" echo "export WINE=$WINE" >> "$WORLDSDIR/wrldslinux"
echo "export WINEPREFIX=$WINEPREFIX" >> "$WORLDSDIR/wrldslinux" echo "export WINEPREFIX=$WINEPREFIX" >> "$WORLDSDIR/wrldslinux"
echo "export WORLDSDIR=$WORLDSDIR" >> "$WORLDSDIR/wrldslinux" echo "export WORLDSDIR=$WORLDSDIR" >> "$WORLDSDIR/wrldslinux"
echo "export WORLDSINSTALL=$WORLDSINSTALL" >> "$WORLDSDIR/wrldslinux"
echo "export SETTHEME=DEFAULT" >> "$WORLDSDIR/wrldslinux" echo "export SETTHEME=DEFAULT" >> "$WORLDSDIR/wrldslinux"
echo "source \"$WORLDSDIR/wlrdscmd\"" >> "$WORLDSDIR/wrldslinux" echo "source \"$WORLDSDIR/wlrdscmd\"" >> "$WORLDSDIR/wrldslinux"
rm "$HOME/Desktop/WorldsPlayer Win7.*" rm "$HOME/Desktop/WorldsPlayer Win7.*"