mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-05 10:48:05 -05:00
Version 0.9.6
This commit is contained in:
parent
73459a311f
commit
d6aa6521c3
@ -4484,10 +4484,10 @@ function agentUpdate_Start(updateurl, updateoptions) {
|
|||||||
if (updateoptions != null && updateoptions.hash != null) {
|
if (updateoptions != null && updateoptions.hash != null) {
|
||||||
if (updateoptions.hash.toLowerCase() == h.toString('hex').toLowerCase()) {
|
if (updateoptions.hash.toLowerCase() == h.toString('hex').toLowerCase()) {
|
||||||
if (sessionid != null) { sendConsoleText('Download complete. HASH verified.', sessionid); }
|
if (sessionid != null) { sendConsoleText('Download complete. HASH verified.', sessionid); }
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
agentUpdate_Start._retryCount++;
|
agentUpdate_Start._retryCount++;
|
||||||
sendConsoleText('Self Update FAILED because the downloaded agent FAILED hash check (' + agentUpdate_Start._retryCount + '), URL: ' + updateurl, sessionid);
|
sendConsoleText('Self Update FAILED because the downloaded agent FAILED hash check (' + agentUpdate_Start._retryCount + '), URL: ' + updateurl, sessionid);
|
||||||
|
sendConsoleText(updateoptions.hash + " != " + h.toString('hex'));
|
||||||
sendAgentMessage('Self Update FAILED because the downloaded agent FAILED hash check (' + agentUpdate_Start._retryCount + '), URL: ' + updateurl, 3);
|
sendAgentMessage('Self Update FAILED because the downloaded agent FAILED hash check (' + agentUpdate_Start._retryCount + '), URL: ' + updateurl, 3);
|
||||||
agentUpdate_Start._selfupdate = null;
|
agentUpdate_Start._selfupdate = null;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "meshcentral",
|
"name": "meshcentral",
|
||||||
"version": "0.9.5",
|
"version": "0.9.6",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Remote Device Management",
|
"Remote Device Management",
|
||||||
"Remote Device Monitoring",
|
"Remote Device Monitoring",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user