mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
Handle parsing malformed user created VRC config.json files
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user