Skip to content

Commit

Permalink
daggerfall-unity - Remove automatic settings creation
Browse files Browse the repository at this point in the history
  • Loading branch information
d10sfan committed Dec 4, 2023
1 parent fe6592b commit e7eaa45
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions engines/daggerfall-unity/assets/run-daggerfall-unity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,4 @@ else
exit 10
fi

if [ ! -f ~/.config/unity3d/Daggerfall\ Workshop/Daggerfall\ Unity/settings.ini ]; then
if [ ! -d ~/.config/unity3d/Daggerfall\ Workshop/Daggerfall\ Unity ]; then
LD_PRELOAD="" mkdir -p ~/.config/unity3d/Daggerfall\ Workshop/Daggerfall\ Unity
fi
LD_PRELOAD="" echo "No settings.ini file detected, so creating"

LD_PRELOAD="" echo -e "[Daggerfall]" >> ~/.config/unity3d/Daggerfall\ Workshop/Daggerfall\ Unity/settings.ini
LD_PRELOAD="" echo -e "MyDaggerfallPath = ./DFUPDATED/DAGGER" >> ~/.config/unity3d/Daggerfall\ Workshop/Daggerfall\ Unity/settings.ini
fi

"$runtimepath/scout-on-soldier-entry-point-v2" --verbose -- ./DaggerfallUnity.x86_64

0 comments on commit e7eaa45

Please sign in to comment.