@@ -3,7 +3,7 @@ rem NSP v1.4.1
3
3
@ ECHO on
4
4
5
5
set Ver = v1.4.1
6
- set BuildPath = %~dp0 … /build
6
+ set BuildPath = %~dp0 .. /build
7
7
8
8
set nsp_client_path = %BuildPath% /nspclient_unity_%Ver%
9
9
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%
23
23
24
24
set nsp_client_winfform_path = %BuildPath% /nspclient_winform_%Ver%
25
25
26
- rem 删除nsp_client和nsp_server相关的pdb文件
27
- powershell del %nsp_client_path% \*.pdb
28
- powershell del %nsp_server_path% \*.pdb
26
+
29
27
30
28
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
32
30
33
31
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
35
33
36
34
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%
43
41
44
42
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%
51
49
52
50
rem NSPWinform
53
51
MSBuild .\NSmartProxyWinform\NSmartProxyWinform.csproj /t:build /p:OutDir=%nsp_client_winfform_path%
54
52
powershell del %nsp_client_winfform_path% \*.pdb
55
53
powershell del %nsp_client_winfform_path% \*.xml
56
54
55
+
56
+
57
57
rem ilmerge
58
58
rem ruined :<
59
59
0 commit comments