kinsi55 / BeatSaber_UpdateSkipper

Simple tool to prevent Steam from Updating Beat Saber whenever there happens to be an update so you dont need to copy around files and end up possibly wrecking your setup.
MIT License
185 stars 14 forks source link

Better logic for determining Beat Saber installation directory #12

Closed VentyCZ closed 1 year ago

VentyCZ commented 2 years ago

This PR uses the following steps:

  1. Finds out the Steam installation directory from registry (32/64bit)
  2. Goes through all the defined library folders
  3. Finds the library folder containing Beat Saber and uses it
kinsi55 commented 2 years ago

Hey, thank you. I'll try to look into this in a bit

VentyCZ commented 2 years ago

@kinsi55 Thank you :) Haven't done any C# in a long while, so even any nitpicks on the code are appreciated!

kinsi55 commented 1 year ago

Since you asked for it, I nitpicked :P

LGTM tho, I'll include it in the next update whenever that will be, thank you!

VentyCZ commented 1 year ago

Np, thanks for the nitpicking too :)

Mostly code style stuff, except for using LINQ - haven't done any C# in looong while, so I totally forgot how to LINQ ;)