Skip to content

Commit 63d0e4c

Browse files
author
baiqing
committed
release: v1.0.04 (build B1003)
1 parent cd744d5 commit 63d0e4c

2 files changed

Lines changed: 54 additions & 2 deletions

File tree

appcast.xml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,58 @@
55
<link>https://raw.githubusercontent.com/appergb/openless/main/appcast.xml</link>
66
<description>OpenLess update feed</description>
77

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

scripts/build-app.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ cd "$(dirname "$0")/.."
66

77
APP_NAME="OpenLess"
88
BUNDLE_ID="com.openless.app"
9-
APP_VERSION="1.0.03"
10-
BUILD_NUMBER="A1005"
9+
APP_VERSION="1.0.04"
10+
BUILD_NUMBER="B1003"
1111
BUILD_DIR="build"
1212
APP_DIR="${BUILD_DIR}/${APP_NAME}.app"
1313
BIN_DIR="${APP_DIR}/Contents/MacOS"

0 commit comments

Comments
 (0)