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