We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b97061 commit 10db93eCopy full SHA for 10db93e
Torch.Server/Program.cs
@@ -62,7 +62,10 @@ public static void Main(string[] args)
62
}
63
64
// Breaks on Windows Server 2019
65
- if ((!new ComputerInfo().OSFullName.Contains("Server 2019") && !new ComputerInfo().OSFullName.Contains("Server 2022")) && !Environment.UserInteractive)
+ if ((!new ComputerInfo().OSFullName.Contains("Server 2019") &&
66
+ !new ComputerInfo().OSFullName.Contains("Server 2022") &&
67
+ !new ComputerInfo().OSFullName.Contains("Server 2025")) &&
68
+ !Environment.UserInteractive)
69
{
70
using (var service = new TorchService(args))
71
ServiceBase.Run(service);
0 commit comments