From bfabc7506ef73cf4c9037d9395832bb83d764087 Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Tue, 21 May 2024 14:37:23 +0800 Subject: [PATCH] opening the settings bypasses the OOBE --- scripts/pages/settings.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/pages/settings.js b/scripts/pages/settings.js index a3ceeb2..f6683ae 100644 --- a/scripts/pages/settings.js +++ b/scripts/pages/settings.js @@ -28,7 +28,9 @@ class Page_Settings extends Page { // Instantiate the filters module, since it's needed for some of the actions below. this.data.filters = (this.data.filters) ? this.data.filters : new filters(); - + // Bypass the OOBE page since the user opened the settings page. + global.write([`init`], true, 1, {"silent": true}); + // Set the actions. let ACTIONS = {}; ACTIONS[`filters,update`] = async () => {this.data.filters.update(`*`);};