Fix stuff

This commit is contained in:
Sardelka9515
2023-02-16 18:56:56 +08:00
parent e5f426690f
commit 6e2b4aff2f
12 changed files with 44 additions and 17 deletions

View File

@ -115,14 +115,14 @@ namespace RageCoop.Client.Installer
UpdateStatus("Checking conflicts");
var menyooConfig = Path.Combine(root, @"menyooStuff\menyooConfig.ini");
var settingsPath = Path.Combine(root, SettingsPath);
Settings settings = null;
ClientSettings settings = null;
try
{
settings = Util.ReadSettings(settingsPath);
}
catch
{
settings = new Settings();
settings = new();
}
if (File.Exists(menyooConfig))