minibrowser theme thanks to MattMan

- remove TOS coz no one cares anyway
This commit is contained in:
zefie
2021-08-13 03:54:19 -04:00
parent 3846b53488
commit ce5b2eeb3d
12 changed files with 187 additions and 897 deletions

View File

@@ -32,6 +32,14 @@ class WTVShared {
return check_path;
}
isMiniBrowser(ssid_session) {
return (ssid_session.get("wtv-need-upgrade") || ssid_session.get("wtv-used-8675309"));
}
isOldBuild(ssid_session) {
if (this.isMiniBrowser(ssid_session) || ssid_session.get("wtv-system-version") < 2500) return true;
return false;
}
readMiniSrvConfig(user_config = true, notices = true) {
if (notices) console.log(" *** Reading global configuration...");