diff --git a/comms.js b/comms.js index 02f7d2cb5..9f685500e 100644 --- a/comms.js +++ b/comms.js @@ -32,7 +32,7 @@ getInstalledApps : () => { return new Promise((resolve,reject) => { Puck.write("\x03",(result) => { if (result===null) return reject(""); - Puck.eval('require("Storage").list(/\.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.slice(0,-5);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 81246671e..eeac78468 100644 --- a/index.html +++ b/index.html @@ -51,7 +51,7 @@
App Loader is incompatible with 'old' Bangle.js firmwares - (more info) Please update to the latest firmware or + (more info) Please update to the latest firmware or use the legacy apps.