feat: 重新设计设置界面并发布 1.0.1

统一设置主页和悬浮球定位页的视觉层级、状态反馈与无障碍交互,并同步发行元数据。

AI-assisted-by: Codex

AI-model: gpt-5.6-sol

AI-reasoning-effort: medium

Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
2026-09-01 22:01:14 +08:00
co-authored by Codex
parent 2100ebab6b
commit 368bc643a4
15 changed files with 519 additions and 139 deletions
+3 -3
View File
@@ -1,13 +1,13 @@
# Linux 分发打包
TamaASR 1.0.0 的系统包由两部分组成:
TamaASR 1.0.1 的系统包由两部分组成:
- Electron 应用安装到 `/opt/tama-asr`,命令入口为 `/usr/bin/tama-asr`;
- Fcitx5 常驻 addon 由目标发行版中的 CMake/Fcitx5 开发包编译,并安装到该环境报告的 addon 目录。
安装包同时提供桌面入口、项目图标和 `/etc/xdg/autostart/tama-asr.desktop`,因此安装后的默认行为是随桌面会话启动。设置页关闭自启动时,应用需要在用户级 autostart 目录写入覆盖项,不能删除系统包所属文件。
`tama-asr` 1.0.0 的 deb、RPM 和 Arch 元数据均声明替换旧 `meloasr` 包;通过对应发行版的包管理器安装新包时,旧应用、Fcitx5 addon 和桌面文件会一并卸载。
`tama-asr` 1.0.1 的 deb、RPM 和 Arch 元数据均声明替换旧 `meloasr` 包;通过对应发行版的包管理器安装新包时,旧应用、Fcitx5 addon 和桌面文件会一并卸载。
## 统一构建契约
@@ -42,7 +42,7 @@ pnpm run build:linux:dir
packaging/deb/build-deb.sh
```
产物位于 `packaging/out/tama-asr_1.0.0_<arch>.deb`。依赖名称按 Debian/Ubuntu 系列填写,但尚未在各发行版完成安装验证。
产物位于 `packaging/out/tama-asr_1.0.1_<arch>.deb`。依赖名称按 Debian/Ubuntu 系列填写,但尚未在各发行版完成安装验证。
## rpm
+1 -1
View File
@@ -1,5 +1,5 @@
pkgname=tama-asr
pkgver=1.0.0
pkgver=1.0.1
pkgrel=1
pkgdesc='Web-backed voice input for Fcitx5'
arch=('x86_64')
+1 -1
View File
@@ -4,7 +4,7 @@
```bash
curl --fail --location --remote-name \
https://github.com/Melorise/TamaASR/releases/download/v1.0.0/PKGBUILD
https://github.com/Melorise/TamaASR/releases/download/v1.0.1/PKGBUILD
makepkg --syncdeps --cleanbuild
```
+1
View File
@@ -16,6 +16,7 @@
<binary>tama-asr</binary>
</provides>
<releases>
<release version="1.0.1" date="2026-09-01"/>
<release version="1.0.0" date="2026-09-01"/>
<release version="0.1.17" date="2026-09-01"/>
<release version="0.1.16" date="2026-08-26"/>
+1 -1
View File
@@ -2,7 +2,7 @@
set -euo pipefail
project_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../.." && pwd)"
version="${TAMA_ASR_VERSION:-1.0.0}"
version="${TAMA_ASR_VERSION:-1.0.1}"
arch="${TAMA_ASR_DEB_ARCH:-$(dpkg --print-architecture)}"
app_dir="${1:-${TAMA_ASR_ELECTRON_APP_DIR:-${project_dir}/release/linux-unpacked}}"
work_dir="${project_dir}/packaging/out/deb-root"
+1 -1
View File
@@ -2,7 +2,7 @@
set -euo pipefail
project_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../.." && pwd)"
version="${TAMA_ASR_VERSION:-1.0.0}"
version="${TAMA_ASR_VERSION:-1.0.1}"
app_dir="${1:-${TAMA_ASR_ELECTRON_APP_DIR:-${project_dir}/release/linux-unpacked}}"
stage_dir="${project_dir}/packaging/out/rpm-root"
top_dir="${project_dir}/packaging/out/rpmbuild"
+3
View File
@@ -38,6 +38,9 @@ tar -C %{buildroot} -xzf %{SOURCE0}
/etc/xdg/autostart/tama-asr.desktop
%changelog
* Tue Sep 01 2026 TamaASR contributors - 1.0.1-1
- Redesign the settings and overlay-position interfaces.
* Tue Sep 01 2026 TamaASR contributors - 1.0.0-1
- Rename the package and replace the legacy meloasr package on upgrade.