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