config.json editor 2

This commit is contained in:
Natsumi
2021-05-15 08:28:58 +12:00
parent 2c3485058e
commit 4d817e1316
2 changed files with 4 additions and 4 deletions

View File

@@ -62,7 +62,7 @@ namespace VRCX
{
return "";
}
var json = System.IO.File.ReadAllText(configFile);
var json = File.ReadAllText(configFile);
return json;
}
@@ -70,7 +70,7 @@ namespace VRCX
{
var logPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + @"Low\VRChat\VRChat\";
var configFile = Path.Combine(logPath, @"config.json");
System.IO.File.WriteAllText(configFile, json);
File.WriteAllText(configFile, json);
}
public void ShowDevTools()

View File

@@ -10915,8 +10915,8 @@ speechSynthesis.getVoices();
cache_size: { name: 'Max Cache Size [GB] (minimum 20)', default: '20' },
cache_expiry_delay: { name: 'Cache Expiry [Days] (minimum 30)', default: '30' },
cache_directory: { name: 'Custom Cache Folder Location', default: '%AppData%\\..\\LocalLow\\VRChat\\vrchat' },
dynamic_bone_max_affected_transform_count: { name: 'Dynamic Bones Limit Max Transforms (0 disables all components)', default: '32' },
dynamic_bone_max_collider_check_count: { name: 'Dynamic Bones Limit Max Collider Collisions (0 disables all components)', default: '8' }
dynamic_bone_max_affected_transform_count: { name: 'Dynamic Bones Limit Max Transforms (0 always disable transforms)', default: '32' },
dynamic_bone_max_collider_check_count: { name: 'Dynamic Bones Limit Max Collider Collisions (0 always disable colliders)', default: '8' }
};
$app.methods.readVRChatConfigFile = async function () {