2
0

Only run TaskMode on Windows

This commit is contained in:
glax 2023-07-31 00:41:25 +02:00
parent 74aca86b62
commit 5b89cbd042

View File

@ -49,7 +49,8 @@ public static class Tranga
foreach(NotificationManager nm in taskManager.commonObjects.notificationManagers)
nm.SendNotification("Tranga-API", "Started Tranga-API");
TaskMode(taskManager, logger);
if(!RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
TaskMode(taskManager, logger);
}
private static void TaskMode(TaskManager taskManager, Logger logger)