Kapiainen / Lauhdutin

A Rainmeter skin for launching games.
MIT License
67 stars 8 forks source link

"Setting the Steam path does not always succeed in updating the list of accounts." #109

Closed SirUseless1 closed 6 years ago

SirUseless1 commented 6 years ago

Yeah its a known Issue. I can't choose my Account. I tested 3.0 Beta 4 and 2.71

Is there are workaround or something to fix it?

Kapiainen commented 6 years ago

One person reported that adding / to the end of the path fixed it, but I'm having no issues with just D:/Programs/Steam.

SirUseless1 commented 6 years ago

Thanks, but didn't work :/

BanCrash commented 6 years ago

Did you have non-english characters on your profile name? I make a test naming my profile with "á" and can't choose it. I get back to "a" and works perfect again.

Example: BánCrash doesn't work. BanCrash work.

jetjaguar commented 6 years ago

I hit this problem while after installing Beta 3.0.0 v7 and discovered that due to my path having a space in it (e.g. F:\\My Documents\Rainmeter\Skins\Lauhdutin.-.3.0.0.beta.7) most of the bat files would have trouble parsing "My Documents" and often split up the path as two separate files.

Modifying the offending .bat files ({at}Resources\settings\platforms\steam\listUsers.bat, {at}Resources\main\platforms\battlenet\identifyFolders.bat) to "sanitize" the paths with "%variable%" (vs. %variable%) allowed my username to show up or my library to be scanned.

listUsers.bat--------------- 11 dir %1 /b /o:n /a:d > "%users%" 12 echo "" > "%completed%"

I don't quite see everything working (may or may not be related to this change), just something I noticed that will hopefully help with a fix

Edit: after more poking around the basic problem in most cases of stuff not working for me has been usually the last few bat operations aren't sanitized (like in listUsers.bat)

Kapiainen commented 6 years ago

@jetjaguar, I went through all of the batch files and added quotation marks to the various variable declarations for paths. The issues related to whitespace in paths should hopefully be fixed now in beta 8.