modorganizer2-linux-installer icon indicating copy to clipboard operation
modorganizer2-linux-installer copied to clipboard

find-library-for-appid.sh echoes the compatdata directory if STEAM_LIBRARY exists

Open Spartan322 opened this issue 2 years ago • 2 comments

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.

Spartan322 avatar Jun 12 '22 12:06 Spartan322

could you provide more detail please?

voidedlegacy avatar Jun 14 '22 12:06 voidedlegacy

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

Lord-Guckavin avatar Jun 15 '22 15:06 Lord-Guckavin

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")" \

mdurec21 avatar May 12 '23 07:05 mdurec21

Fixed in #324

rockerbacon avatar Jul 18 '23 19:07 rockerbacon