modorganizer2-linux-installer
modorganizer2-linux-installer copied to clipboard
find-library-for-appid.sh echoes the compatdata directory if STEAM_LIBRARY exists
This results in a duplication of the middle part of the path which tends to cause mkdir commands to fail, ending the installation as a failure.
could you provide more detail please?
If one sets $STEAM_LIBRARY to /games/steam_library
then utils/find-library-for-appid.sh returns /games/steam_library/steamapps/compatdata/$appid
which when the script tries to install a script extender you'll end up with something like mkdir: cannot create directory ‘/games/steam_library/steamapps/compatdata/22330/steamapps/compatdata/22330/pfx/drive_c/java’: No such file or directory
I encountered the same issue - I managed to use a workaround by not using STEAM_LIBRARY variable, but rather pointing it to the correct library by manually editing list-steam-libraries.sh: line 8
original: "$(readlink -f "$HOME/.steam/root")"
new: "$(readlink -f "$HOME/.steam/steam")" \
Fixed in #324