添加构建脚本

This commit is contained in:
zs-yg
2025-11-09 08:27:54 +08:00
parent d325676293
commit 0b6f66304b

7
build.bat Normal file
View File

@@ -0,0 +1,7 @@
dotnet publish MCSJ.csproj -c Release -r win-x86 --self-contained false /p:Optimize=true /p:DebugType=None
dotnet publish MCSJ.csproj -c Release -r win-x64 --self-contained false /p:Optimize=true /p:DebugType=None
cd bin\Release\net8.0
ren win-x64 MCSJ-x64
ren win-x86 MCSJ-x86
rmdir /s /q MCSJ-x64\publish
rmdir /s /q MCSJ-x86\publish