1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-10 13:23:41 +00:00

1. Changed Array.includes polyfill to be nonenumerable, fixing potential problems when using for loops

2. Added uninstall helper
3. Fixed macOS bug on 'load' function
This commit is contained in:
Bryan Roe
2020-02-25 23:32:21 -08:00
parent 7c77677b3e
commit 6f5f065eb5
5 changed files with 68 additions and 23 deletions

View File

@@ -308,7 +308,7 @@ if (process.platform == 'darwin')
if (this.daemon)
{
if(uid!=null || uid!=0)
if(uid!=null && uid!=0)
{
throw ('LaunchDaemon must run as root');
}