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

@@ -346,13 +346,11 @@ class WTVClientSessionData {
}
scrapbookExists() {
if (!this.isguest) {
if (this.scrapbook_dir === null) {
var userstore_dir = this.getUserStoreDirectory();
var store_dir = "Scrapbook" + this.path.sep;
this.scrapbook_dir = userstore_dir + store_dir;
}
}
if (this.scrapbook_dir === null) {
var userstore_dir = this.getUserStoreDirectory();
var store_dir = "Scrapbook" + this.path.sep;
this.scrapbook_dir = userstore_dir + store_dir;
}
return this.fs.existsSync(this.scrapbook_dir);
}