Compress self-contained executable

This commit is contained in:
2026-09-01 15:25:19 +08:00
parent 2e00bf8213
commit f50cf6bf15
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@
<UseWindowsForms>true</UseWindowsForms>
<ApplicationIcon>NginxMan.ico</ApplicationIcon>
<PublishSingleFile>true</PublishSingleFile>
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
<SelfContained>true</SelfContained>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<DebugType>none</DebugType>
+1 -1
View File
@@ -287,7 +287,7 @@ data\www\index.template.html
bin\NginxMan.exe
```
发布结果为自包含的 Windows x64 单文件程序,目标计算机通常不需要另外安装 .NET Runtime。
发布结果为经过压缩的自包含 Windows x64 单文件程序,目标计算机通常不需要另外安装 .NET Runtime。压缩会明显减小 EXE 体积,但首次启动可能增加少量解压时间。
## 常见问题