mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 22:03:50 +02:00
Fixes
This commit is contained in:
@@ -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: '' };
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user