Ready for the first beta release. #105

Merged
That-One-Nerd merged 41 commits from main-canary into main 2023-05-18 13:05:42 -04:00
Showing only changes of commit 45e23b9924 - Show all commits

View File

@ -22,6 +22,7 @@ public class Config
private static Config p_applied; private static Config p_applied;
private static Changes? p_changes; private static Changes? p_changes;
// These variables should only exist in the Config class so they aren't marked as shared.
private static string p_steamLocation; private static string p_steamLocation;
static Config() static Config()
@ -86,6 +87,8 @@ public class Config
} }
p_steamLocation = (string)key.GetValue("SteamPath")!; p_steamLocation = (string)key.GetValue("SteamPath")!;
// Assign config variables.
string gameDirDataPath = Path.Combine(p_steamLocation, @"steamapps\libraryfolders.vdf"); string gameDirDataPath = Path.Combine(p_steamLocation, @"steamapps\libraryfolders.vdf");
VkvSerializer serializer = new(new() VkvSerializer serializer = new(new()