Updated error message, to show correct binary name

This commit is contained in:
Bryan Roe 2022-06-04 09:35:31 -07:00
parent 1474c73ddb
commit 3c856765ce

View File

@ -64,7 +64,7 @@ else
if (translation[lang.split('-')[0]] == null)
{
console.log('Language: ' + lang + ' is not translated.');
console.log("try: './meshcentral -lang=en' for English");
console.log("try: './"+ process.execPath.split('/').pop() + " -lang=en' for English");
console.log("See the agent-translations.json file for a list of current languages that are implemented.")
process.exit();
}