1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-06 00:13:33 +00:00

Fixed bug that occurs when you run the binary installer from an SSH/Terminal session

This commit is contained in:
Bryan Roe
2022-04-11 20:14:03 -07:00
parent 2fc1af473a
commit cee564084c

View File

@@ -261,7 +261,7 @@ limitations under the License.
console.log(JSON.stringify(translation));
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 + ": ");
if ((msh.InstallFlags & 1) == 1)