mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed MacOS agent download link on invitation page.
This commit is contained in:
parent
63d440914f
commit
9cc918239f
7 changed files with 12 additions and 11 deletions
|
@ -709,16 +709,14 @@ function createMeshCore(agent)
|
|||
} catch (e) { }
|
||||
break;
|
||||
}
|
||||
/*
|
||||
case 'serviceRestart': {
|
||||
// Start a service
|
||||
// Restart a service
|
||||
try {
|
||||
var service = require('service-manager').manager.getService(data.serviceName);
|
||||
if (service != null) { service.stop(); service.start(); }
|
||||
if (service != null) { service.restart(); }
|
||||
} catch (e) { }
|
||||
break;
|
||||
}
|
||||
*/
|
||||
case 'openUrl': {
|
||||
// Open a local web browser and return success/fail
|
||||
MeshServerLog('Opening: ' + data.url, data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue