This commit is contained in:
Natsumi
2026-01-24 01:04:24 +13:00
committed by pa
parent c4f75e50d7
commit dfce6760ca
6 changed files with 40 additions and 20 deletions

View File

@@ -143,12 +143,18 @@ async function checkVRChatCache(ref) {
return { Item1: -1, Item2: false, Item3: '' };
}
return AssetBundleManager.CheckVRChatCache(
id,
version,
variant,
variantVersion
);
try {
return AssetBundleManager.CheckVRChatCache(
id,
version,
variant,
variantVersion
);
} catch (err) {
console.error('Failed reading VRChat cache size:', err);
toast.error(`Failed reading VRChat cache size: ${err}`);
return { Item1: -1, Item2: false, Item3: '' };
}
}
/**