部署工具:密码提示改为 -Command 方式调用脚本(修复 ssh 子环境下 -File 被系统拒绝导致登录失败)

This commit is contained in:
qiuxiang 2026-10-14 15:11:15 +08:00
parent 71652c5a64
commit afd8487cd4

View File

@ -1,2 +1,2 @@
@echo off @echo off
powershell.exe -NoProfile -STA -ExecutionPolicy Bypass -File "%~dp0deploy-password-prompt.ps1" powershell.exe -NoProfile -STA -ExecutionPolicy Bypass -Command "& '%~dp0deploy-password-prompt.ps1'"