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:
@@ -16,7 +16,7 @@
|
||||
<body onload="GetV()">
|
||||
<h2>MoonMod WLED Software Update</h2>
|
||||
<form method='POST' action='/update' id='uf' enctype='multipart/form-data' onsubmit="U()">
|
||||
Installed version: <span class="sip">##VERSION##</span><br>
|
||||
Installed bin: <span class="sip">##VERSION##</span><br> <!--WLEDSR: show bin name-->
|
||||
Download the latest binary: <a href="https://github.com/MoonModules/WLED/releases" target="_blank">
|
||||
<img src="https://img.shields.io/github/release/MoonModules/WLED.svg?style=flat-square"></a><br>
|
||||
<input type='file' name='update' required><br> <!--should have accept='.bin', but it prevents file upload from android app-->
|
||||
|
||||
Reference in New Issue
Block a user