代码拉取完成,页面将自动刷新
同步操作将从 少年郎秃头呀/p2p-tunnel 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
@echo off
SET target=%~dp0
echo publish client ==============================================
cd %target%/client/client.service
echo publish win-x64----------------------------------------------
dotnet publish -c release -r win-x64 --self-contained=false -f net6.0 -o ./public/publish/win-x64 -p:DebugType=none -p:DebugSymbols=false
dotnet publish -c release -r win-x64 --self-contained=true -f net6.0 -o ./public/publish-single/win-x64 -p:DebugType=none -p:DebugSymbols=false -p:EnableCompressionInSingleFile=true -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeNativeLibrariesForSelfExtract=true
echo publish linux-x64--------------------------------------------
dotnet publish -c release -r linux-x64 --self-contained=false -f net6.0 -o ./public/publish/linux-x64 -p:DebugType=none -p:DebugSymbols=false
dotnet publish -c release -r linux-x64 --self-contained=true -f net6.0 -o ./public/publish-single/linux-x64 -p:DebugType=none -p:DebugSymbols=false -p:EnableCompressionInSingleFile=true -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeNativeLibrariesForSelfExtract=true
echo publish client ============================================== OK
echo publish server ==============================================
cd %target%/server/server.service
echo publish win-x64----------------------------------------------
dotnet publish -c release -r win-x64 --self-contained=false -f net6.0 -o ./public/publish/win-x64 -p:DebugType=none -p:DebugSymbols=false
dotnet publish -c release -r win-x64 --self-contained=true -f net6.0 -o ./public/publish-single/win-x64 -p:DebugType=none -p:DebugSymbols=false -p:EnableCompressionInSingleFile=true -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeNativeLibrariesForSelfExtract=true
echo publish linux-x64--------------------------------------------
dotnet publish -c release -r linux-x64 --self-contained=false -f net6.0 -o ./public/publish/linux-x64 -p:DebugType=none -p:DebugSymbols=false
dotnet publish -c release -r linux-x64 --self-contained=true -f net6.0 -o ./public/publish-single/linux-x64 -p:DebugType=none -p:DebugSymbols=false -p:EnableCompressionInSingleFile=true -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeNativeLibrariesForSelfExtract=true
echo publish server ============================================== OK
pause
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。