Skip to content

Commit eda706d

Browse files
author
tmoonlight
committed
字符错误修复
1 parent 2b1f384 commit eda706d

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/build.cmd

+18-18
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ rem NSP v1.4.1
33
@ECHO on
44

55
set Ver=v1.4.1
6-
set BuildPath=%~dp0/build
6+
set BuildPath=%~dp0../build
77

88
set nsp_client_path=%BuildPath%/nspclient_unity_%Ver%
99
set nsp_server_path=%BuildPath%/nspserver_unity_%Ver%
@@ -23,37 +23,37 @@ set nsp_server_scd_win_arm_path=%BuildPath%/nspserver_scd_win_arm_%Ver%
2323

2424
set nsp_client_winfform_path=%BuildPath%/nspclient_winform_%Ver%
2525

26-
rem 删除nsp_client和nsp_server相关的pdb文件
27-
powershell del %nsp_client_path%\*.pdb
28-
powershell del %nsp_server_path%\*.pdb
26+
2927

3028
rem NSPClient
31-
dotnet publish .\NSmartProxyClient\NSmartProxyClient.csproj -c release -o %nsp_client_path% /p:DebugType=None /p:PublishTrimmed=true
29+
dotnet publish .\NSmartProxyClient\NSmartProxyClient.csproj -c release -o %nsp_client_path% /p:DebugType=None /p:PublishTrimmed=false
3230

3331
rem NSPServer
34-
dotnet publish .\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj -c release -o %nsp_server_path% /p:DebugType=None /p:PublishTrimmed=true
32+
dotnet publish .\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj -c release -o %nsp_server_path% /p:DebugType=None /p:PublishTrimmed=false
3533

3634
rem NSPClient_SCD
37-
dotnet publish .\NSmartProxyClient\NSmartProxyClient.csproj -r linux-x64 -c Release /p:PublishSingleFile=true /p:DebugType=None /p:PublishTrimmed=true -o %nsp_client_scd_linux_path%
38-
dotnet publish .\NSmartProxyClient\NSmartProxyClient.csproj -r win-x64 -c Release /p:PublishSingleFile=true /p:DebugType=None /p:PublishTrimmed=true -o %nsp_client_scd_win_path%
39-
dotnet publish .\NSmartProxyClient\NSmartProxyClient.csproj -r osx-x64 -c Release /p:PublishSingleFile=true /p:DebugType=None /p:PublishTrimmed=true -o %nsp_client_scd_osx_path%
40-
dotnet publish .\NSmartProxyClient\NSmartProxyClient.csproj -r osx-arm64 -c Release /p:PublishSingleFile=true /p:DebugType=None /p:PublishTrimmed=true -o %nsp_client_scd_osx_arm_path%
41-
dotnet publish .\NSmartProxyClient\NSmartProxyClient.csproj -r linux-arm -c Release /p:PublishSingleFile=true /p:DebugType=None /p:PublishTrimmed=true -o %nsp_client_scd_linux_arm_path%
42-
dotnet publish .\NSmartProxyClient\NSmartProxyClient.csproj -r win-arm64 -c Release /p:PublishSingleFile=true /p:DebugType=None /p:PublishTrimmed=true -o %nsp_client_scd_win_arm_path%
35+
dotnet publish .\NSmartProxyClient\NSmartProxyClient.csproj -r linux-x64 -c Release /p:PublishSingleFile=true /p:DebugType=None -o %nsp_client_scd_linux_path%
36+
dotnet publish .\NSmartProxyClient\NSmartProxyClient.csproj -r win-x64 -c Release /p:PublishSingleFile=true /p:DebugType=None -o %nsp_client_scd_win_path%
37+
dotnet publish .\NSmartProxyClient\NSmartProxyClient.csproj -r osx-x64 -c Release /p:PublishSingleFile=true /p:DebugType=None -o %nsp_client_scd_osx_path%
38+
dotnet publish .\NSmartProxyClient\NSmartProxyClient.csproj -r osx-arm64 -c Release /p:PublishSingleFile=true /p:DebugType=None -o %nsp_client_scd_osx_arm_path%
39+
dotnet publish .\NSmartProxyClient\NSmartProxyClient.csproj -r linux-arm -c Release /p:PublishSingleFile=true /p:DebugType=None -o %nsp_client_scd_linux_arm_path%
40+
dotnet publish .\NSmartProxyClient\NSmartProxyClient.csproj -r win-arm64 -c Release /p:PublishSingleFile=true /p:DebugType=None -o %nsp_client_scd_win_arm_path%
4341

4442
rem NSPServer_SCD
45-
dotnet publish .\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj -r linux-x64 -c Release /p:PublishSingleFile=true /p:DebugType=None /p:PublishTrimmed=true -o %nsp_server_scd_linux_path%
46-
dotnet publish .\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj -r win-x64 -c Release /p:PublishSingleFile=true /p:DebugType=None /p:PublishTrimmed=true -o %nsp_server_scd_win_path%
47-
dotnet publish .\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj -r osx-x64 -c Release /p:PublishSingleFile=true /p:DebugType=None /p:PublishTrimmed=true -o %nsp_server_scd_osx_path%
48-
dotnet publish .\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj -r osx-arm64 -c Release /p:PublishSingleFile=true /p:DebugType=None /p:PublishTrimmed=true -o %nsp_server_scd_osx_arm_path%
49-
dotnet publish .\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj -r linux-arm -c Release /p:PublishSingleFile=true /p:DebugType=None /p:PublishTrimmed=true -o %nsp_server_scd_linux_arm_path%
50-
dotnet publish .\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj -r win-arm64 -c Release /p:PublishSingleFile=true /p:DebugType=None /p:PublishTrimmed=true -o %nsp_server_scd_win_arm_path%
43+
dotnet publish .\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj -r linux-x64 -c Release /p:PublishSingleFile=true /p:DebugType=None -o %nsp_server_scd_linux_path%
44+
dotnet publish .\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj -r win-x64 -c Release /p:PublishSingleFile=true /p:DebugType=None -o %nsp_server_scd_win_path%
45+
dotnet publish .\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj -r osx-x64 -c Release /p:PublishSingleFile=true /p:DebugType=None -o %nsp_server_scd_osx_path%
46+
dotnet publish .\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj -r osx-arm64 -c Release /p:PublishSingleFile=true /p:DebugType=None -o %nsp_server_scd_osx_arm_path%
47+
dotnet publish .\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj -r linux-arm -c Release /p:PublishSingleFile=true /p:DebugType=None -o %nsp_server_scd_linux_arm_path%
48+
dotnet publish .\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj -r win-arm64 -c Release /p:PublishSingleFile=true /p:DebugType=None -o %nsp_server_scd_win_arm_path%
5149

5250
rem NSPWinform
5351
MSBuild .\NSmartProxyWinform\NSmartProxyWinform.csproj /t:build /p:OutDir=%nsp_client_winfform_path%
5452
powershell del %nsp_client_winfform_path%\*.pdb
5553
powershell del %nsp_client_winfform_path%\*.xml
5654

55+
56+
5757
rem ilmerge
5858
rem ruined :<
5959

0 commit comments

Comments
 (0)