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:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user