mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-25 06:35:54 -05:00
Windows service installation improvements.
This commit is contained in:
parent
593fd5cc80
commit
4b4380c2f5
@ -32,6 +32,9 @@ function start() {
|
||||
} else if (fs.existsSync(path.join(__dirname, '../meshcentral/meshcentral.js'))) {
|
||||
runarg = path.join(__dirname, '../meshcentral/meshcentral.js');
|
||||
cwd = path.join(__dirname, '../meshcentral');
|
||||
} else if (fs.existsSync(path.join(__dirname, '../meshcentral.js'))) {
|
||||
runarg = path.join(__dirname, '../meshcentral.js');
|
||||
cwd = path.join(__dirname, '..');
|
||||
}
|
||||
if (runarg == null) { console.log('ERROR: Unable to find MeshCentral.js'); process.exit(255); return; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user