Random fixes

This commit is contained in:
Natsumi
2025-10-22 12:11:15 +11:00
parent c3f1eda296
commit 1787bb625b
5 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ namespace VRCX
break;
}
}
catch (IOException)
catch (Exception ex) when (ex is IOException or UnauthorizedAccessException)
{
Thread.Sleep(1000);
}
+1
View File
@@ -43,6 +43,7 @@ namespace VRCX
public void WriteConfigFile(string json)
{
var path = GetVRChatAppDataLocation();
Directory.CreateDirectory(path);
var configFile = Path.Join(path, "config.json");
File.WriteAllText(configFile, json);
}