release: 0.2.0(自包含发布,内置 .NET 运行时)
This commit is contained in:
@@ -37,9 +37,10 @@
|
||||
|
||||
## 环境要求
|
||||
|
||||
- Windows 10(19041 及以上)或 Windows 11
|
||||
- .NET 8 SDK
|
||||
- Windows App SDK 2.4.0(NuGet 自动还原,应用已配置自包含 Windows App SDK)
|
||||
- 运行环境:Windows 10(19041 及以上)或 Windows 11
|
||||
- 开发环境:.NET 8 SDK、Windows App SDK 2.4.0(NuGet 自动还原)
|
||||
- Release 自包含版本已将 .NET 8 运行时与 Windows App SDK 运行时打包进
|
||||
应用目录,最终用户无需手动安装 .NET 环境
|
||||
|
||||
## 构建与运行
|
||||
|
||||
@@ -49,6 +50,15 @@
|
||||
# 运行(调试构建输出)
|
||||
src\OneClickRun.App\bin\x64\Debug\net8.0-windows10.0.19041.0\win-x64\OneClickRun.exe
|
||||
|
||||
# 发布 Release 自包含版本(含 .NET 运行时,无需用户安装 .NET)
|
||||
dotnet publish src\OneClickRun.App\OneClickRun.App.csproj -c Release -r win-x64 --self-contained true -o dist\publish\win-x64
|
||||
|
||||
# 将发布目录压缩为分发包
|
||||
powershell Compress-Archive -Path dist\publish\win-x64\* -DestinationPath dist\OneClickRun-0.2.0-win-x64.zip
|
||||
|
||||
Release 发布产物位于 dist\ 目录(已加入 .gitignore);最终用户解压后直接
|
||||
运行 OneClickRun.exe 即可,无需安装 .NET 或 Windows App SDK。
|
||||
|
||||
## 使用说明
|
||||
|
||||
- 默认快捷键 Ctrl+Alt+Q 呼出轮盘;在「呼出与快捷键」页可修改
|
||||
|
||||
Reference in New Issue
Block a user