mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
9 lines
260 B
JavaScript
9 lines
260 B
JavaScript
(function() {
|
|
var l = require("Storage").list(/\.info$/).map(file => {
|
|
var app = require("Storage").readJSON(file,1);
|
|
if (app && app.type == "launch") return app;
|
|
}).find(x=>x);
|
|
if (l) load(l.src);
|
|
else E.showMessage("Launcher\nnot found");
|
|
})
|