Skip to content

Commit 10db93e

Browse files
committed
Server 2025
1 parent 5b97061 commit 10db93e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎Torch.Server/Program.cs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ public static void Main(string[] args)
6262
}
6363

6464
// Breaks on Windows Server 2019
65-
if((!newComputerInfo().OSFullName.Contains("Server 2019")&&!newComputerInfo().OSFullName.Contains("Server 2022"))&&!Environment.UserInteractive)
65+
if((!newComputerInfo().OSFullName.Contains("Server 2019")&&
66+
!newComputerInfo().OSFullName.Contains("Server 2022")&&
67+
!newComputerInfo().OSFullName.Contains("Server 2025"))&&
68+
!Environment.UserInteractive)
6669
{
6770
using(varservice=newTorchService(args))
6871
ServiceBase.Run(service);

0 commit comments

Comments
 (0)