Skip to content

Commit f2adc5e

Browse files
committed
Add bin name in info tab, bin name starts with WLEDMM
package.json: Version from 0.14.0.2.0 to 0.14.0.2.1 output_bins.py and xml.cpp: MM postfix after WLED in bin name index.js and json.cpp: Add bin name in info tab
1 parent 20aebf2 commit f2adc5e

10 files changed

Lines changed: 4079 additions & 4078 deletions

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wled",
3-
"version": "0.14.0.2.0_MM",
3+
"version": "0.14.0.2.1",
44
"description": "Tools for WLED project",
55
"main": "tools/cdata.js",
66
"directories": {

pio-scripts/output_bins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def bin_rename_copy(source, target, env):
3535
if release_name:
3636
_create_dirs(["release"])
3737
version = _get_cpp_define_value(env, "WLED_VERSION")
38-
release_file = "{}release{}WLED_{}_{}.bin".format(OUTPUT_DIR, os.path.sep, version, release_name)
38+
release_file = "{}release{}WLEDMM_{}_{}.bin".format(OUTPUT_DIR, os.path.sep, version, release_name) #WLEDSR: add MM postfix to WLED
3939
shutil.copy(str(target[0]), release_file)
4040

4141
# check if new target files exist and remove if necessary

wled00/data/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,10 +661,10 @@ function populateInfo(i)
661661
if (i.ver.includes("-bl")) vcn = "Supāku";
662662
if (i.cn) vcn = i.cn;
663663

664-
//WLEDSR: add total heap and total PSRAM, and build number
664+
//WLEDSR: add total heap and total PSRAM, and build number, add bin name
665665
if (i.ver.includes(".14.1-")) vcn = "Sitting Ducks"; // easter egg
666666
if ((i.ver.includes("14.0."))&&(i.ver.includes("_MM"))) vcn = "Lupo";
667-
cn += `v${i.ver} &nbsp;<i>"${vcn}"</i><p><em>build ${i.vid}</em></p><table>
667+
cn += `v${i.ver} &nbsp;<i>"${vcn}"</i><p>(WLEDMM_${i.ver}_${i.rel}.bin)</p><p><em>build ${i.vid}</em></p><table>
668668
${urows}
669669
${urows===""?'':'<tr><td colspan=2><hr style="height:1px;border-width:0;color:gray;background-color:gray"></td></tr>'}
670670
${inforow("Build",i.vid)}

wled00/html_other.h

Lines changed: 788 additions & 788 deletions
Large diffs are not rendered by default.

wled00/html_settings.h

Lines changed: 163 additions & 163 deletions
Large diffs are not rendered by default.

wled00/html_simple.h

Lines changed: 1139 additions & 1139 deletions
Large diffs are not rendered by default.

wled00/html_ui.h

Lines changed: 1982 additions & 1982 deletions
Large diffs are not rendered by default.

wled00/json.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,7 @@ static String resetCode2Info(int reason) {
654654
void serializeInfo(JsonObject root)
655655
{
656656
root[F("ver")] = versionString;
657+
root[F("rel")] = releaseString; //WLEDSR to add bin name
657658
root[F("vid")] = VERSION;
658659
//root[F("cn")] = WLED_CODENAME;
659660

wled00/xml.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ void getSettingsJS(byte subPage, char* dest)
720720
if (subPage == 9) // update
721721
{
722722
//WLEDSR: show bin name
723-
sappends('m',SET_F("(\"sip\")[0]"),(char*)F("WLED_"));
723+
sappends('m',SET_F("(\"sip\")[0]"),(char*)F("WLEDMM_"));
724724
olen -= 2; //delete ";
725725
oappend(versionString);
726726
oappend(SET_F("_"));

0 commit comments

Comments
 (0)