mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-17 16:53:13 +00:00
Updated platform check to be 'linux' instead of not 'win32', fixing issues with BSD/macOS
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@ function getUsers()
|
|||||||
if (res[i].State == 'Active' || res[i].State == 'Connected') { uu[process.platform == 'win32' ? res[i].SessionId : res[i].uid] = res[i]; }
|
if (res[i].State == 'Active' || res[i].State == 'Connected') { uu[process.platform == 'win32' ? res[i].SessionId : res[i].uid] = res[i]; }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (process.platform != 'win32')
|
if (process.platform == 'linux')
|
||||||
{
|
{
|
||||||
var spawnable = this.loginUids();
|
var spawnable = this.loginUids();
|
||||||
for (i in spawnable)
|
for (i in spawnable)
|
||||||
|
|||||||
Reference in New Issue
Block a user