release: v1.0.04 (build B1003)

This commit is contained in:
baiqing committed 2026-04-28 13:20:45 +08:00
1 parent cd744d5d9b
commit 63d0e4c7ab
2 files changed
+54 -2

No files matched your search

+52
View File
@@ -5,6 +5,58 @@
<link>https://raw.githubusercontent.com/appergb/openless/main/appcast.xml</link>
<description>OpenLess update feed</description>
<item>
<title>OpenLess 1.0.04</title>
<pubDate>Tue, 28 Apr 2026 05:20:45 +0000</pubDate>
<sparkle:version>B1003</sparkle:version>
<sparkle:shortVersionString>1.0.04</sparkle:shortVersionString>
<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>
<description><![CDATA[# OpenLess 1.0.04
build B1003 — A 系收尾、切到 B 系前缀。本次主体是项目结构整理 + 两处 Codex 体检发现的细节修复。
## 修复
- **编辑词条时命中次数被清零**。词汇表 chip 上的命中数代表"该词在润色后的最终输出里出现过的次数";此前点击 chip 进入编辑、保存后 `hitCount` 被默认值 0 覆盖,统计静默归零。已在 `DictionaryEditorSheet` 保存时把原值带回去。
- **帮助中心文案过期**。1.0.03 把"火山 ASR" / "润色模式" 两个独立 Tab 合并到了"设置",但帮助页里"快速上手"和"常见问题"还在指原来的 Tab 名。已统一改成「设置」/「风格」。
## 内部结构整理
旧的 `Sources/OpenLessApp/Settings/SettingsView.swift` 长到 1697 行,超出 800 行红线一倍多。本版本拆成单一职责文件,零行为变化:
```
Settings/SettingsView.swift 87 根:枚举 + 导航模型 + 主分发
Settings/SettingsComponents.swift 218 共享 UI 组件 + 通知名 + 工具函数
Settings/Sidebar.swift 270 侧边栏 + 状态卡 + stats
Settings/Tabs/HomeTab.swift 161
Settings/Tabs/HistoryTab.swift 50
Settings/Tabs/DictionaryTab.swift 350 含 Chip + ChipFlow + EditorSheet
Settings/Tabs/StyleTab.swift 123
Settings/Tabs/HelpTab.swift 100
Settings/Tabs/SettingsHubTab.swift 184
Settings/Tabs/LegacyTabs.swift 172 旧版孤儿集中放(待清)
```
整个项目最长文件现在是 566 行的 `DictationCoordinator.swift`,全部在 800 红线以下。
## 安装
**老用户**:什么都不用做。下次启动 OpenLess 会自动检查更新。
**新用户**:到 [Releases](https://github.com/appergb/openless/releases) 下载 zip,解压拖到 `/Applications`,跑一次:
```bash
xattr -dr com.apple.quarantine /Applications/OpenLess.app
```
之后双击启动。]]></description>
<enclosure
url="https://github.com/appergb/openless/releases/download/v1.0.04/OpenLess-1.0.04.zip"
length="2735790"
type="application/octet-stream"
sparkle:edSignature="u7k9BnMjJV9/bdQi5AX6eGWE1J7B5yE8n1PlwRu1I/92nFNIUUgWxunuXOHSbGigteX6i4nX7tiXzBy4RFKGAQ==" />
</item>
<item>
<title>OpenLess 1.0.03</title>
<pubDate>Tue, 28 Apr 2026 03:16:48 +0000</pubDate>
+2 -2
View File
@@ -6,8 +6,8 @@ cd "$(dirname "$0")/.."
APP_NAME="OpenLess"
BUNDLE_ID="com.openless.app"
APP_VERSION="1.0.03"
BUILD_NUMBER="A1005"
APP_VERSION="1.0.04"
BUILD_NUMBER="B1003"
BUILD_DIR="build"
APP_DIR="${BUILD_DIR}/${APP_NAME}.app"
BIN_DIR="${APP_DIR}/Contents/MacOS"