And the fate of /gui is sealed

Make sure that the proper files that are not in `/gui` are loaded.
This commit is contained in:
buzz-lightsnack-2007 2024-04-15 15:49:22 +08:00
parent 527d7b6835
commit 0059314655
10 changed files with 9 additions and 82 deletions

View file

@ -13,9 +13,9 @@ Download a file from the network or locally.
*/
export default class net {
static async download(URL, TYPE, VERIFY_ONLY = false, STRICT = false) {
const texts = (await import(chrome.runtime.getURL(`gui/scripts/read.js`)))
const texts = (await import(chrome.runtime.getURL(`/scripts/strings/read.js`)))
.default;
const logging = (await import(chrome.runtime.getURL(`gui/scripts/logging.js`))).default;
const logging = (await import(chrome.runtime.getURL(`/scripts/logging.js`))).default;
let CONNECT, DATA;