Only run TaskMode on Windows
This commit is contained in:
parent
74aca86b62
commit
5b89cbd042
@ -49,6 +49,7 @@ public static class Tranga
|
|||||||
foreach(NotificationManager nm in taskManager.commonObjects.notificationManagers)
|
foreach(NotificationManager nm in taskManager.commonObjects.notificationManagers)
|
||||||
nm.SendNotification("Tranga-API", "Started Tranga-API");
|
nm.SendNotification("Tranga-API", "Started Tranga-API");
|
||||||
|
|
||||||
|
if(!RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
|
||||||
TaskMode(taskManager, logger);
|
TaskMode(taskManager, logger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user