Upload from upload_mods.ps1
This commit is contained in:
16
CheckStackSize.bat
Normal file
16
CheckStackSize.bat
Normal file
@@ -0,0 +1,16 @@
|
||||
echo off
|
||||
set size=4194304
|
||||
set client=7DaysToDie.exe
|
||||
set dedi=7DaysToDieServer.exe
|
||||
if exist ..\..\%client% (
|
||||
.\editbin.exe /stack:%size% ..\..\%client%
|
||||
echo Setting max stack size for %client% to %size%
|
||||
) ^
|
||||
else if exist ..\..\%dedi% (
|
||||
.\editbin.exe /stack:%size% ..\..\%dedi%
|
||||
echo Setting max stack size for %dedi% to %size%
|
||||
) ^
|
||||
else (
|
||||
echo 7 days to die executable not found!
|
||||
)
|
||||
pause
|
||||
Reference in New Issue
Block a user