Use WLED_RELEASE_NAME to generate bin names and show the name in update

Package.json: set version to mmod numbering
platformio.ini: refactor mmod entries using extend and WLED_RELEASE_NAME
update.htm: change to installed bin
wled.h: add releaseString
xml.cpp: set bin name
This commit is contained in:
Ewoud
2022-10-28 12:25:10 +02:00
parent 306fb01991
commit 305c9c5566
9 changed files with 1809 additions and 3902 deletions

View File

@@ -695,9 +695,13 @@ void getSettingsJS(byte subPage, char* dest)
if (subPage == 9) // update
{
sappends('m',SET_F("(\"sip\")[0]"),(char*)F("WLED "));
//WLEDSR: show bin name
sappends('m',SET_F("(\"sip\")[0]"),(char*)F("WLED_"));
olen -= 2; //delete ";
oappend(versionString);
oappend(SET_F("_"));
oappend(releaseString);
oappend(SET_F(".bin"));
#ifdef ARDUINO_ARCH_ESP32
oappend(SET_F("<br>(ESP32"));
#else