diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cfef69ac..213b65852 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,3 +5,4 @@ Changed for individual apps are listed in `apps/appname/ChangeLog` * `Remove All Apps` now doesn't perform a reset before erase - fixes inability to update firmware if settings are wrong * Added optional `README.md` file for apps +* Remove 2v04 version warning, add links in About to official/developer versions diff --git a/index.html b/index.html index 67f5a748b..0d5c17251 100644 --- a/index.html +++ b/index.html @@ -69,9 +69,6 @@
STOP! This page must be served over HTTPS. Please reload this page via HTTPS.
-Note: If you have a version of Bangle.js firmware before 2v04, please update to the latest firmware or - use the legacy app loader. -
@@ -129,6 +126,7 @@Check out the Source on GitHub, or find out how to add your own app
Using Espruino, Icons from icons8.com
diff --git a/js/index.js b/js/index.js index 3cdb1c30c..d2c6d698b 100644 --- a/js/index.js +++ b/js/index.js @@ -465,6 +465,19 @@ librarySearchInput.addEventListener('input', evt => { // =========================================== About +if (window.location.host=="banglejs.com") { + document.getElementById("apploaderlinks").innerHTML = + 'This is the official Bangle.js App Loader - you can also try the Development Version for the most recent apps.'; +} else if (window.location.host=="espruino.github.io") { + document.title += " [Development]"; + document.getElementById("apploaderlinks").innerHTML = + 'This is the development Bangle.js App Loader - you can also try the Official Version for stable apps.'; +} else { + document.title += " [Unofficial]"; + document.getElementById("apploaderlinks").innerHTML = + 'This is not the official Bangle.js App Loader - you can try the Official Version here.'; +} + document.getElementById("settime").addEventListener("click",event=>{ Comms.setTime().then(()=>{ showToast("Time set successfully","success");