From 3726a44fb5c0cf82dbaa226f1c22e63d08a7e0b9 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Fri, 28 Feb 2020 12:16:57 +0000 Subject: [PATCH] New notes about breaking changes --- comms.js | 3 +-- index.html | 8 ++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/comms.js b/comms.js index 0b1aab970..66c3373e6 100644 --- a/comms.js +++ b/comms.js @@ -32,8 +32,7 @@ getInstalledApps : () => { return new Promise((resolve,reject) => { Puck.write("\x03",(result) => { if (result===null) return reject(""); - // could use .list(/\.info$/) on new Espruino firmwares... - Puck.eval('require("Storage").list().filter(f=>f.endsWith(".info")).map(f=>{var j=require("Storage").readJSON(f)||{};j.id=f.substr(1);return j})', (appList,err) => { + Puck.eval('require("Storage").list(/\.info$/).map(f=>{var j=require("Storage").readJSON(f)||{};j.id=f.substr(1);return j})', (appList,err) => { if (appList===null) return reject(err || ""); console.log("getInstalledApps", appList); resolve(appList); diff --git a/index.html b/index.html index 5ed83382b..e07edde48 100644 --- a/index.html +++ b/index.html @@ -49,6 +49,14 @@ --> +
+

App Loader is incompatible with 'old' Bangle.js firmwares + Please (more info)Update to the latest firmware or + use the legacy apps. +

+
+ +