Files
Better-Seewo/Publish/build.bat
miao-moe bb0c8832a0 feat: 新增一键构建脚本 (v2.0.1)
- 添加 build.ps1 PowerShell 构建脚本
- 添加 build.bat 批处理入口(双击一键构建)
- 支持 Debug/Release 配置切换
- 支持自包含模式发布
- 自动检测 .NET SDK、清理输出、编译打包
2026-06-28 07:14:37 +00:00

33 lines
662 B
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
chcp 65001 >nul
title Better-Seewo 一键构建
echo.
echo ========================================
echo Better-Seewo 一键构建脚本 v2.0.1
echo 雾生万象,启以为光
echo ========================================
echo.
:: 检测 PowerShell
where powershell >nul 2>nul
if %errorlevel% neq 0 (
echo [错误] 未找到 PowerShell请先安装 PowerShell。
pause
exit /b 1
)
:: 运行构建脚本
echo [INFO] 正在启动 PowerShell 构建脚本 ...
echo.
powershell -ExecutionPolicy Bypass -File "%~dp0build.ps1" %*
if %errorlevel% neq 0 (
echo.
echo [错误] 构建失败!
pause
exit /b 1
)
echo.
pause