1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-12 14:23:40 +00:00

Updated toast mechanism on Windows

This commit is contained in:
Bryan Roe
2020-05-16 14:25:29 -07:00
parent 5e28a53736
commit 474f6fc4d0
3 changed files with 64 additions and 50 deletions

View File

@@ -125,7 +125,7 @@ function childContainer()
}
// Spawn the child
if(options.user)
if(options.user && process.platform == 'win32')
{
// Use Task Scheduler
var parms = '/C SCHTASKS /CREATE /F /TN MeshUserTask /SC ONCE /ST 00:00 ';