From 4a323ba05790fb94f193a0b54c9d6af8d24d662e Mon Sep 17 00:00:00 2001
From: Frank <91616163+softhack007@users.noreply.github.com>
Date: Sun, 9 Nov 2025 23:19:43 +0100
Subject: [PATCH] align Release Strings with upstream
"server message" on OTA update page follows the new format used by upstream WLED.
---
wled00/xml.cpp | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/wled00/xml.cpp b/wled00/xml.cpp
index 4eb0b008..596d2ae7 100644
--- a/wled00/xml.cpp
+++ b/wled00/xml.cpp
@@ -767,9 +767,19 @@ void getSettingsJS(AsyncWebServerRequest* request, byte subPage, char* dest) //W
sappends('m',SET_F("(\"sip\")[0]"),(char*)F("WLEDMM ")); //WLEDMM server message
olen -= 2; //delete ";
oappend(versionString);
- oappend(SET_F(" (build "));
+ oappend(SET_F(" ("));
oappendi(VERSION);
- oappend(SET_F(")\";"));
+ oappend(SET_F(")
\\\""));
+ oappend(releaseString);
+ oappend(SET_F(".bin\\\"
(Processor: "));
+ oappend(
+ #if defined(ARDUINO_ARCH_ESP32)
+ ESP.getChipModel()
+ #else
+ "ESP8266"
+ #endif
+ );
+ oappend(SET_F(")\";"));
oappend(SET_F("sd=\""));
oappend(serverDescription);
oappend(SET_F("\";"));
@@ -863,7 +873,7 @@ void getSettingsJS(AsyncWebServerRequest* request, byte subPage, char* dest) //W
oappend(versionString);
oappend(SET_F(" "));
oappend((char*)FPSTR(releaseString));
- oappend(SET_F(".bin
("));
+ oappend(SET_F(".bin
("));
#if defined(CONFIG_IDF_TARGET_ESP32C3)
oappend(SET_F("ESP32-C3"));
#elif defined(CONFIG_IDF_TARGET_ESP32S3)
@@ -877,7 +887,7 @@ void getSettingsJS(AsyncWebServerRequest* request, byte subPage, char* dest) //W
#endif
oappend(SET_F(" build "));
oappendi(VERSION);
- oappend(SET_F(")\";"));
+ oappend(SET_F(")\";"));
}
if (subPage == 10) // 2D matrices