release: 0.2.0(自包含发布,内置 .NET 运行时)

This commit is contained in:
2026-08-30 01:47:46 +08:00
parent 83011e5d29
commit b1d9a4e7a5
3 changed files with 18 additions and 4 deletions
+4
View File
@@ -7,6 +7,8 @@
## [Unreleased]
## [0.2.0] - 2026-08-30
### Added
- 新增系统托盘图标:左键单击托盘图标显示设置界面;右键菜单提供
@@ -16,6 +18,8 @@
开机启动注册表写入、轮盘全局开关
- 快捷指令「运行脚本」支持 .cmd / .bat 批处理文件(通过 cmd /c 执行),
文件选择器同步移除不再支持的 .psm1
- 发布 Release 自包含版本:.NET 8 运行时与 Windows App SDK 运行时均打包
进应用目录,用户无需手动安装 .NET 环境
### Changed
+1 -1
View File
@@ -3,7 +3,7 @@
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>0.1.0</Version>
<Version>0.2.0</Version>
<Product>一键运行 OneClickRun</Product>
</PropertyGroup>
</Project>
+13 -3
View File
@@ -37,9 +37,10 @@
## 环境要求
- Windows 1019041 及以上)或 Windows 11
- .NET 8 SDK
- Windows App SDK 2.4.0NuGet 自动还原,应用已配置自包含 Windows App SDK
- 运行环境:Windows 1019041 及以上)或 Windows 11
- 开发环境:.NET 8 SDK、Windows App SDK 2.4.0NuGet 自动还原)
- 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 呼出轮盘;在「呼出与快捷键」页可修改