Handle parsing malformed user created VRC config.json files

This commit is contained in:
Natsumi
2025-05-28 23:58:08 +10:00
parent 9f45d535a0
commit 834e5fc245
5 changed files with 36 additions and 5 deletions

View File

@@ -401,7 +401,7 @@
}
async function readVRChatConfigFile() {
const config = await AppApi.ReadConfigFile();
const config = await AppApi.ReadConfigFileSafe();
if (config) {
try {
const parsedConfig = JSON.parse(config);