This commit is contained in:
Spmario233 2024-04-10 10:12:16 +08:00
parent c97989ac76
commit 99ae63bbc4
1 changed files with 6 additions and 8 deletions

View File

@ -441,13 +441,12 @@ export async function boot() {
//lib.init.onload=backup_onload;
_status.evaluatingExtension = false;
}
else if (!localStorage.getItem(lib.configprefix + 'directstart') && show_splash) {
else {
extensionlist.push(config.get('extensions')[name]);
}
}
}
else {
if (!localStorage.getItem(lib.configprefix + 'directstart') && show_splash) {
for (var name = 0; name < config.get('extensions').length; name++) {
if (Reflect.get(window, 'bannedExtensions').includes(config.get('extensions')[name])) {
continue;
@ -456,7 +455,6 @@ export async function boot() {
game.import('extension', { name: config.get('extensions')[name] });
}
}
}
let layout = config.get('layout');
if (layout == 'default' || lib.layoutfixed.indexOf(config.get('mode')) !== -1) {