桌面端打包优化
This commit is contained in:
@@ -1,6 +1,19 @@
|
||||
@echo off
|
||||
chcp 65001 >nul
|
||||
cd /d "%~dp0"
|
||||
|
||||
if not exist "%~dp0build-installer.ps1" (
|
||||
echo [错误] 未找到同目录下的 build-installer.ps1
|
||||
echo.
|
||||
echo 请从仓库内运行本脚本,例如:
|
||||
echo qhmes\yy-admin-master\installer\build-installer.bat
|
||||
echo 不要只复制 .bat 到桌面;需与 build-installer.ps1 放在同一目录。
|
||||
echo.
|
||||
echo 当前目录: %~dp0
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Running build-installer.ps1 ...
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0build-installer.ps1"
|
||||
echo.
|
||||
|
||||
Reference in New Issue
Block a user