mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
9 lines
305 B
JavaScript
9 lines
305 B
JavaScript
(function(name) {
|
|
if (Bangle.uiRemove) {
|
|
Bangle.setUI(); // remove all existing UI (and call Bangle.uiRemove)
|
|
__FILE__=name;
|
|
if (!name) name = ".bootcde";
|
|
setTimeout(eval,0,require("Storage").read(name)); // Load app without a reboot
|
|
} else load((name!=".bootcde")?name:undefined);
|
|
})
|