ahmed-al-balochi / LibreGaming

Python Program that downloads gaming required packages based on your Linux Distribution.
GNU General Public License v3.0
193 stars 12 forks source link

proton-ge not installed to correct location #12

Closed T2hhbmEK closed 3 years ago

T2hhbmEK commented 3 years ago

For short, do not run LibreGaming -a.

Details: Running LibreGaming -a with a clean home directory, there will be no .steam directory. When installing proton-ge using protonup, ~/.steam/root/compatibilitytools.d will be auto created(mkdir -p maybe). However, at this time, steam has not been run. In fact, at first run, steam will creates ~/.steam directories and make a soft link of your real steam root to ~/.steam/root . For arch linux, it shoud be a soft link of ~/.local/share/Steam. These cause a problem that proton-ge is installed to a location which is not the real steam root. What's more, when steam starts, it detects ~/.steam/root already exists and will not create the soft link for you.

Fix option 1: To solve this problem, do not run -a option with a clean install. Run-p after open steam at least once.

Fix option 2: Or just run -a and manually fix it. For arch linux, this can be fixed through following commands.

mv ~/.steam/root/compatibilitytools.d ~/.local/share/Steam && \
rmdir ~/.steam/root && \
ln -sf ~/.local/share/Steam ~/steam/root
ahmed-al-balochi commented 3 years ago

Ok I will see what I can do.

ahmed-al-balochi commented 3 years ago

Verified the issue on my VMs. and did what you said in option 1, now the fix is in the latest release. Thanks a lot for the issue.