mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-21 07:43:50 +02:00
Path.Join()
This commit is contained in:
@@ -8,7 +8,7 @@ namespace VRCX
|
||||
public string ReadConfigFile()
|
||||
{
|
||||
var path = GetVRChatAppDataLocation();
|
||||
var configFile = Path.Combine(path, "config.json");
|
||||
var configFile = Path.Join(path, "config.json");
|
||||
if (!Directory.Exists(path) || !File.Exists(configFile))
|
||||
{
|
||||
return string.Empty;
|
||||
@@ -21,7 +21,7 @@ namespace VRCX
|
||||
public void WriteConfigFile(string json)
|
||||
{
|
||||
var path = GetVRChatAppDataLocation();
|
||||
var configFile = Path.Combine(path, "config.json");
|
||||
var configFile = Path.Join(path, "config.json");
|
||||
File.WriteAllText(configFile, json);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user