Synced changes for silent install, with agent repo
This commit is contained in:
parent
72e64506e1
commit
2b04eebcab
|
@ -221,8 +221,6 @@ if ((!skip) && ((msh.InstallFlags & 2) == 2))
|
|||
}
|
||||
|
||||
if (!skip)
|
||||
{
|
||||
if (process.platform != 'darwin')
|
||||
{
|
||||
if (process.argv.includes('-install') || process.argv.includes('-update'))
|
||||
{
|
||||
|
@ -274,12 +272,11 @@ if ((!skip) && ((msh.InstallFlags & 2) == 2))
|
|||
process.exit();
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
if (process.platform == 'darwin')
|
||||
{
|
||||
if (!require('user-sessions').isRoot()) { console.log('\n' + translation[lang].elevation); process.exit(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!skip)
|
||||
|
|
Loading…
Reference in New Issue