Files
WinServer_Install_DayZServer/双击安装.bat
2025-07-31 13:56:50 +08:00

18 lines
389 B
Batchfile

@echo off
setlocal enabledelayedexpansion
:: 设置账号密码(实际使用时可替换为真实凭证)
set "STEAM_USER=dcrclub"
set "STEAM_PASS=foIXp86DX0uuzL5I"
:: 调用PowerShell脚本并传递参数
powershell.exe -ExecutionPolicy Bypass -File "%~dp0install.ps1" ^
-SteamUser "!STEAM_USER!" ^
-SteamPass "!STEAM_PASS!"
:: 安全擦除内存中的凭证
set "STEAM_USER="
set "STEAM_PASS="
endlocal
pause
exit