1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-06 00:13:33 +00:00

Updated platform check to be 'linux' instead of not 'win32', fixing issues with BSD/macOS

This commit is contained in:
Bryan Roe
2022-08-22 19:57:39 -07:00
parent b2e64e2147
commit de512f8ae1
2 changed files with 2 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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 (process.platform != 'win32')
if (process.platform == 'linux')
{
var spawnable = this.loginUids();
for (i in spawnable)