From eb2fac40db1dfaf789511eef0cb7e394100fef50 Mon Sep 17 00:00:00 2001 From: Vasilis Date: Sun, 5 May 2024 23:18:26 +0300 Subject: [PATCH] Use dotnet run for the run batch files instead of directly calling the exe (#27698) * Use dotnet run for the run batch files instead of directly calling the exe * FUCK --- runclient.bat | 5 +---- runserver.bat | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/runclient.bat b/runclient.bat index f580d41e9d6..f867d00c0ba 100644 --- a/runclient.bat +++ b/runclient.bat @@ -1,6 +1,3 @@ @echo off -set PDIR=%~dp0 -cd %PDIR%Bin\Content.Client -start Content.Client.exe %* -cd %PDIR% +dotnet run --project Content.Client set PDIR= diff --git a/runserver.bat b/runserver.bat index 573de0a15d8..5c3f8acecdf 100644 --- a/runserver.bat +++ b/runserver.bat @@ -1,7 +1,3 @@ @echo off -set PDIR=%~dp0 -cd %PDIR%Bin\Content.Server -call Content.Server.exe %* -cd %PDIR% -set PDIR= +dotnet run --project Content.Server pause