双击安装.bat 392 B

123456789101112131415161718
  1. @echo off
  2. setlocal enabledelayedexpansion
  3. :: 设置账号密码(实际使用时可替换为真实凭证)
  4. set "STEAM_USER=your_username"
  5. set "STEAM_PASS=your_password"
  6. :: 调用PowerShell脚本并传递参数
  7. powershell.exe -ExecutionPolicy Bypass -File "%~dp0install.ps1" ^
  8. -SteamUser "!STEAM_USER!" ^
  9. -SteamPass "!STEAM_PASS!"
  10. :: 安全擦除内存中的凭证
  11. set "STEAM_USER="
  12. set "STEAM_PASS="
  13. endlocal
  14. pause
  15. exit