Skip to content

Commit

Permalink
Update to point Bangle.js 2 users to the app loader
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Jan 10, 2024
1 parent af1ffa3 commit 591055e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/versionChecker.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
env.BOARD=="ESPRUINOWIFI" ||
env.BOARD=="PUCKJS" ||
env.BOARD=="PIXLJS" ||
env.BOARD=="JOLTJS" ||
env.BOARD=="MDBT42Q" ||
env.BOARD=="BANGLEJS" ||
env.BOARD=="BANGLEJS2")) {
Expand All @@ -88,7 +89,10 @@
id:'update',
title: 'New Firmware '+ tAvailable +' available. Click to update.',
click: function(){
Espruino.Core.MenuSettings.show("Flasher");
if (env.BOARD=="BANGLEJS2")
window.open("https://banglejs.com/apps/?id=fwupdate");
else
Espruino.Core.MenuSettings.show("Flasher");
}
});
}
Expand Down

0 comments on commit 591055e

Please sign in to comment.