1
0
Fork 0

quicklaunch: load foreground app before quicklaunch

master
thyttan 2024-10-28 23:14:25 +01:00
parent 87ca15597c
commit b1477a0f8f
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
{
setTimeout(() => { // wrap in zero ms timeout so the foreground app loads first.
const storage = require("Storage");
let settings = storage.readJSON("quicklaunch.json", true) || {};
@ -40,4 +41,5 @@
if (ud == 1) trace = leaveTrace("d"); // d=down.
launchApp(trace);
});
}, 0);
}