From 95c864b3c54f4b8a5c95f48cbff7663cfa5cd2c2 Mon Sep 17 00:00:00 2001 From: Yui Date: Wed, 5 Nov 2025 16:18:02 -0300 Subject: [PATCH] feat(proj): move files on build and SPT.Server launch --- .gitignore | 3 ++- Server/Properties/launchSettings.json | 14 ++++++++++++++ Server/Server.csproj | 18 ++++++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 Server/Properties/launchSettings.json diff --git a/.gitignore b/.gitignore index add57be..5e3cb8d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ bin/ obj/ /packages/ riderModule.iml -/_ReSharper.Caches/ \ No newline at end of file +/_ReSharper.Caches/ +Server/Server.csproj.user \ No newline at end of file diff --git a/Server/Properties/launchSettings.json b/Server/Properties/launchSettings.json new file mode 100644 index 0000000..3b3abbe --- /dev/null +++ b/Server/Properties/launchSettings.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json.schemastore.org/launchsettings.json", + "profiles": { + "SPTarkov.Server": { + "commandName": "Executable", + "executablePath": "$(SPTPath)/SPT.Server.Linux", + "commandLineArgs": "--disable-software-rasterizer", + "workingDirectory": "$(SPTPath)", + "environmentVariables": { + + } + } + } +} diff --git a/Server/Server.csproj b/Server/Server.csproj index a3d795a..987bed4 100644 --- a/Server/Server.csproj +++ b/Server/Server.csproj @@ -9,7 +9,24 @@ 1.0.0 1.0.0 + + + + + $(SPTPath)user/mods/$(MSBuildProjectName) + + + + + + + + + + + + @@ -17,6 +34,7 @@ Always +