akorb / SteamShutdown

Automatic shutdown after Steam download(s) has finished.
MIT License
362 stars 28 forks source link

Crash on startup #38

Closed Rharim closed 3 years ago

Rharim commented 3 years ago

I used .exe version. I'm on Win10 x64, sys language set to Polish. SteamShutdown_Log.txt

CrysoK commented 3 years ago

Same crash here. SteamShutdown_Log.txt Windows 10 x64 Version 20H2

It doesn't happen on v2.3.4

akorb commented 3 years ago

Sorry to hear that! I think I already know what's causing it.

Could someone of you please send me this file: "C:\Program Files (x86)\Steam\steamapps\libraryfolders.vdf"

Rharim commented 3 years ago

Here you go. libraryfolders.zip

akorb commented 3 years ago

Could you please verify that this version works again? SteamShutdown.zip

Rharim commented 3 years ago

Can't do it - my pc is stubborn and say it's a virus. That said I can't even download it.

akorb commented 3 years ago

Maybe this works? SteamShutdown.zip

Rharim commented 3 years ago

It starts now. But I tried it twice alredy and it do not turn off PC after download finish. It should work without admin, right?

MatchTerm commented 3 years ago

Same thing here SteamShutdown_Log.txt

akorb commented 3 years ago

SteamShutdown.zip

Could you please check if this version works again?

troy0h commented 3 years ago

Hi, I'm getting the same error 30/06/2021 23:37:02: System.TypeInitializationException: The type initializer for 'SteamShutdown.Steam' threw an exception. ---> Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'Newtonsoft.Json.Linq.JValue' does not contain a definition for 'ContainsKey' at CallSite.Target(Closure , CallSite , Object , String ) at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) at SteamShutdown.Steam.GetLibraryPaths(String installationPath) at SteamShutdown.Steam..cctor() --- End of inner exception stack trace --- at SteamShutdown.Steam.add_AppInfoChanged(AppInfoChangedEventHandler value) at SteamShutdown.CustomApplicationContext..ctor() at SteamShutdown.SteamShutdown.Main() v2.3.4 also works fine for me, and the newest zip you sent here seems to work at the moment

akorb commented 3 years ago

I just pushed a new update. I hope it fixed all the problems you encounter