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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user