mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-04-15 16:38:51 -04:00
Merge branch 'master' of https://github.com/Ylianst/MeshCentral
This commit is contained in:
commit
3c697d4d6e
@ -156,7 +156,7 @@ if (process.argv.includes('-translations'))
|
|||||||
console.log(JSON.stringify(translation));
|
console.log(JSON.stringify(translation));
|
||||||
process.exit();
|
process.exit();
|
||||||
}
|
}
|
||||||
if (process.argv.includes('-help'))
|
if (process.argv.includes('-help') || (process.platform == 'linux' && process.env['XAUTHORITY']==null && process.env['DISPLAY'] == null))
|
||||||
{
|
{
|
||||||
console.log("\n" + translation[lang].commands + ": ");
|
console.log("\n" + translation[lang].commands + ": ");
|
||||||
if ((msh.InstallFlags & 1) == 1)
|
if ((msh.InstallFlags & 1) == 1)
|
||||||
@ -234,6 +234,10 @@ if (!skip)
|
|||||||
{
|
{
|
||||||
p.push('--installPath="' + process.argv[i].split('=').pop() + '"');
|
p.push('--installPath="' + process.argv[i].split('=').pop() + '"');
|
||||||
}
|
}
|
||||||
|
else if(process.argv[i].startsWith('--'))
|
||||||
|
{
|
||||||
|
p.push(process.argv[i]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
_install(p);
|
_install(p);
|
||||||
process.exit();
|
process.exit();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user