Fix loading custom.css from custom path

This commit is contained in:
Natsumi
2025-01-19 00:26:49 +13:00
parent 46a2fe36a9
commit 37a9688b81
3 changed files with 11 additions and 7 deletions

View File

@@ -5459,6 +5459,10 @@ console.log(`isLinux: ${LINUX}`);
$app.data.dontLogMeOut = false;
API.$on('LOGIN', async function (args) {
// early loading indicator
this.isRefreshFriendsLoading = true;
$app.feedTable.loading = true;
$app.friendLog = new Map();
$app.feedTable.data = [];
$app.feedSessionTable = [];
@@ -22254,7 +22258,10 @@ console.log(`isLinux: ${LINUX}`);
try {
var loggingEnabled =
await this.getVRChatRegistryKey('LOGGING_ENABLED');
if (loggingEnabled === null) {
if (
loggingEnabled === null ||
typeof loggingEnabled === 'undefined'
) {
// key not found
return;
}