From f3f70e709c4ac1f082d8a801a7a842f4dd7dc82e Mon Sep 17 00:00:00 2001
From: TheBombGamer <245092019+chillcog@users.noreply.github.com>
Date: Tue, 12 May 2026 01:18:33 -0700
Subject: [PATCH] Skip Ceciler obfuscation on non-Windows
Add OS checks and comments to SPTarkov.Server.Core.csproj to avoid running Ceciler-based patches on non-Windows systems. The AfterEverythingDone target now gates the virtualizer and JsonExtensionData Exec steps with "'$(OS)' == 'Windows_NT'" (and keeps the existing IsPublish/Configuration checks), and a comment explains Ceciler.Launcher.dll is Windows-only and can fail on Linux/ARM. Minor whitespace/comments added for clarity.
---
.../SPTarkov.Server.Core.csproj | 20 +++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/Libraries/SPTarkov.Server.Core/SPTarkov.Server.Core.csproj b/Libraries/SPTarkov.Server.Core/SPTarkov.Server.Core.csproj
index f00613f6..e96f1684 100644
--- a/Libraries/SPTarkov.Server.Core/SPTarkov.Server.Core.csproj
+++ b/Libraries/SPTarkov.Server.Core/SPTarkov.Server.Core.csproj
@@ -29,29 +29,37 @@
+
+
-
+
-
+
+
+
-
+
\ No newline at end of file