boot 0.66: Ensure __FILE__ is set even after a fresh boot (fix #3857)
parent
df09a86355
commit
b95ee7bb4a
|
|
@ -76,3 +76,4 @@
|
|||
Bangle.loadWidgets overwritten with fast version on success
|
||||
Refuse to work on firmware <2v16 and remove old polyfills
|
||||
0.65: Only display interpreter errors if log is nonzero
|
||||
0.66: Ensure __FILE__ is set even after a fresh boot (fix #3857)
|
||||
|
|
@ -23,6 +23,7 @@ if (!_clkApp) {
|
|||
require("Storage").writeJSON("setting.json", s);
|
||||
}
|
||||
}
|
||||
if (s.clock) __FILE__=s.clock;
|
||||
delete s;
|
||||
if (!_clkApp) _clkApp=`E.showMessage("No Clock Found");setWatch(()=>{Bangle.showLauncher();}, global.BTN2||BTN, {repeat:false,edge:"falling"});`;
|
||||
eval(_clkApp);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "boot",
|
||||
"name": "Bootloader",
|
||||
"version": "0.65",
|
||||
"version": "0.66",
|
||||
"description": "This is needed by Bangle.js to automatically load the clock, menu, widgets and settings",
|
||||
"icon": "bootloader.png",
|
||||
"type": "bootloader",
|
||||
|
|
|
|||
Loading…
Reference in New Issue