remove guest mode

This commit is contained in:
zefie
2025-08-12 01:05:10 -04:00
parent b29dd70f52
commit ad95d5f088
16 changed files with 467 additions and 568 deletions

View File

@@ -39,18 +39,15 @@ class WTVFavorites {
}
favstoreExists() {
if (!this.isguest) {
if (this.favstore_dir === null) {
// set favstore directory local var so we don't call the function every time
const userstore_dir = this.wtvclient.getUserStoreDirectory();
if (this.favstore_dir === null) {
// set favstore directory local var so we don't call the function every time
const userstore_dir = this.wtvclient.getUserStoreDirectory();
// FavStore
const store_dir = "FavStore" + this.path.sep;
this.favstore_dir = userstore_dir + store_dir;
}
return this.fs.existsSync(this.favstore_dir);
}
return null;
// FavStore
const store_dir = "FavStore" + this.path.sep;
this.favstore_dir = userstore_dir + store_dir;
}
return this.fs.existsSync(this.favstore_dir);
}
folderExists(foldername) {