Version 0.9.6
Ylian Saint-Hilaire committed
Aug 16, 2021 at 23:58 UTC
d6aa6521c313b0e2560e828872cc232de26f0b5b
2 files changed
+3
-3
agents/meshcore.js
+2
-2
@@ -4484,10 +4484,10 @@ function agentUpdate_Start(updateurl, updateoptions) {
4484
if (updateoptions != null && updateoptions.hash != null) {
4485
if (updateoptions.hash.toLowerCase() == h.toString('hex').toLowerCase()) {
4486
if (sessionid != null) { sendConsoleText('Download complete. HASH verified.', sessionid); }
4487
- }
4488
- else {
4487
+ } else {
4488
agentUpdate_Start._retryCount++;
4489
sendConsoleText('Self Update FAILED because the downloaded agent FAILED hash check (' + agentUpdate_Start._retryCount + '), URL: ' + updateurl, sessionid);
4490
+ sendConsoleText(updateoptions.hash + " != " + h.toString('hex'));
4491
sendAgentMessage('Self Update FAILED because the downloaded agent FAILED hash check (' + agentUpdate_Start._retryCount + '), URL: ' + updateurl, 3);
4492
agentUpdate_Start._selfupdate = null;
4493
package.json
+1
-1
@@ -1,6 +1,6 @@
1
{
2
"name": "meshcentral",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
4
"keywords": [
5
"Remote Device Management",
6
"Remote Device Monitoring",