mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 05:43:51 +02:00
Fix cache sizes
This commit is contained in:
@@ -107,7 +107,7 @@ namespace VRCX
|
||||
var versionLocation = GetAssetVersion(version, variantVersion);
|
||||
if (!Directory.Exists(topDir))
|
||||
return Path.Join(topDir, versionLocation);
|
||||
var versionSearchPattern = string.Concat("*", versionLocation.AsSpan(8));
|
||||
var versionSearchPattern = string.Concat("*", versionLocation.AsSpan(16));
|
||||
var dirs = Directory.GetDirectories(topDir, versionSearchPattern);
|
||||
if (dirs.Length > 0)
|
||||
return dirs.OrderByDescending(dir => ReverseHexToDecimal(Path.GetFileName(dir)).Item2).First();
|
||||
|
||||
@@ -10756,12 +10756,6 @@ console.log(`isLinux: ${LINUX}`);
|
||||
var { ref } = args;
|
||||
D.ref = ref;
|
||||
this.updateVRChatAvatarCache();
|
||||
if (
|
||||
ref.imageUrl === API.currentUser.currentAvatarImageUrl &&
|
||||
!ref.assetUrl
|
||||
) {
|
||||
D.ref.assetUrl = API.currentUser.currentAvatarAssetUrl;
|
||||
}
|
||||
if (/quest/.test(ref.tags)) {
|
||||
D.isQuestFallback = true;
|
||||
}
|
||||
|
||||
@@ -208,7 +208,6 @@ export default class extends baseClass {
|
||||
bio: '',
|
||||
bioLinks: [],
|
||||
currentAvatar: '',
|
||||
currentAvatarAssetUrl: '',
|
||||
currentAvatarImageUrl: '',
|
||||
currentAvatarTags: [],
|
||||
currentAvatarThumbnailImageUrl: '',
|
||||
|
||||
Reference in New Issue
Block a user