diff --git a/AGENTS.md b/AGENTS.md index 493ddfc..a16b330 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,7 +2,7 @@ ## 项目范围 -MeloASR 是仅面向 Linux 的 Fcitx5 桌面语音输入工具。项目名为 `MeloASR`,分发包名为 `meloasr`,当前版本为 `0.1.16`。 +MeloASR 是仅面向 Linux 的 Fcitx5 桌面语音输入工具。项目名为 `MeloASR`,分发包名为 `meloasr`,当前版本为 `0.1.17`。 不得恢复 Windows、PowerShell 或 Tauri 输出路径。发行版差异只能存在于依赖说明和打包配置,不能进入语音输入核心逻辑。 diff --git a/CHANGELOG.md b/CHANGELOG.md index ef8fc9b..14a673e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ 本项目遵循 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/) 的格式。 +## [0.1.17] - 2026-09-01 + +### 变更 + +- 更新应用图标,并将托盘图标统一为“已就绪”和“未就绪”两种状态。 + ## [0.1.16] - 2026-08-26 ### 修复 diff --git a/CLAUDE.md b/CLAUDE.md index 493ddfc..a16b330 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,7 +2,7 @@ ## 项目范围 -MeloASR 是仅面向 Linux 的 Fcitx5 桌面语音输入工具。项目名为 `MeloASR`,分发包名为 `meloasr`,当前版本为 `0.1.16`。 +MeloASR 是仅面向 Linux 的 Fcitx5 桌面语音输入工具。项目名为 `MeloASR`,分发包名为 `meloasr`,当前版本为 `0.1.17`。 不得恢复 Windows、PowerShell 或 Tauri 输出路径。发行版差异只能存在于依赖说明和打包配置,不能进入语音输入核心逻辑。 diff --git a/linux/fcitx5/CMakeLists.txt b/linux/fcitx5/CMakeLists.txt index cb869e2..962f1d1 100644 --- a/linux/fcitx5/CMakeLists.txt +++ b/linux/fcitx5/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.16) -project(meloasr-fcitx5 VERSION 0.1.16 LANGUAGES CXX) +project(meloasr-fcitx5 VERSION 0.1.17 LANGUAGES CXX) include(GNUInstallDirs) include(CTest) diff --git a/linux/fcitx5/meloasr.conf.in b/linux/fcitx5/meloasr.conf.in index c074fb0..3cb7c2f 100644 --- a/linux/fcitx5/meloasr.conf.in +++ b/linux/fcitx5/meloasr.conf.in @@ -6,7 +6,7 @@ Comment[zh_CN]=将 MeloASR 网页后端连接到当前输入上下文 Type=SharedLibrary Library=@MELOASR_LIBRARY_PATH@ Category=Module -Version=0.1.16 +Version=0.1.17 OnDemand=False Configurable=False diff --git a/package.json b/package.json index 478c9c1..044da4f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "meloasr", "productName": "MeloASR", - "version": "0.1.16", + "version": "0.1.17", "private": true, "packageManager": "pnpm@11.21.0", "author": "MeloASR contributors", diff --git a/packaging/README.md b/packaging/README.md index bbda036..30ae87a 100644 --- a/packaging/README.md +++ b/packaging/README.md @@ -1,6 +1,6 @@ # Linux 分发打包 -MeloASR 0.1.16 的系统包由两部分组成: +MeloASR 0.1.17 的系统包由两部分组成: - Electron 应用安装到 `/opt/meloasr`,命令入口为 `/usr/bin/meloasr`; - Fcitx5 常驻 addon 由目标发行版中的 CMake/Fcitx5 开发包编译,并安装到该环境报告的 addon 目录。 @@ -40,7 +40,7 @@ pnpm run build:linux:dir packaging/deb/build-deb.sh ``` -产物位于 `packaging/out/meloasr_0.1.16_.deb`。依赖名称按 Debian/Ubuntu 系列填写,但尚未在各发行版完成安装验证。 +产物位于 `packaging/out/meloasr_0.1.17_.deb`。依赖名称按 Debian/Ubuntu 系列填写,但尚未在各发行版完成安装验证。 ## rpm diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD index cb7e1f8..bfd31f1 100644 --- a/packaging/arch/PKGBUILD +++ b/packaging/arch/PKGBUILD @@ -1,5 +1,5 @@ pkgname=meloasr -pkgver=0.1.16 +pkgver=0.1.17 pkgrel=1 pkgdesc='Web-backed voice input for Fcitx5' arch=('x86_64') diff --git a/packaging/arch/README.md b/packaging/arch/README.md index b60c37a..0897167 100644 --- a/packaging/arch/README.md +++ b/packaging/arch/README.md @@ -4,7 +4,7 @@ ```bash curl --fail --location --remote-name \ - https://github.com/Melorise/MeloASR/releases/download/v0.1.16/PKGBUILD + https://github.com/Melorise/MeloASR/releases/download/v0.1.17/PKGBUILD makepkg --syncdeps --cleanbuild ``` diff --git a/packaging/assets/meloasr.metainfo.xml b/packaging/assets/meloasr.metainfo.xml index 1cf013a..a345700 100644 --- a/packaging/assets/meloasr.metainfo.xml +++ b/packaging/assets/meloasr.metainfo.xml @@ -16,6 +16,7 @@ meloasr + diff --git a/packaging/deb/build-deb.sh b/packaging/deb/build-deb.sh index 1507f12..e62560b 100755 --- a/packaging/deb/build-deb.sh +++ b/packaging/deb/build-deb.sh @@ -2,7 +2,7 @@ set -euo pipefail project_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../.." && pwd)" -version="${MELOASR_VERSION:-0.1.16}" +version="${MELOASR_VERSION:-0.1.17}" arch="${MELOASR_DEB_ARCH:-$(dpkg --print-architecture)}" app_dir="${1:-${MELOASR_ELECTRON_APP_DIR:-${project_dir}/release/linux-unpacked}}" work_dir="${project_dir}/packaging/out/deb-root" diff --git a/packaging/rpm/build-rpm.sh b/packaging/rpm/build-rpm.sh index 50d1bdd..117795c 100755 --- a/packaging/rpm/build-rpm.sh +++ b/packaging/rpm/build-rpm.sh @@ -2,7 +2,7 @@ set -euo pipefail project_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../.." && pwd)" -version="${MELOASR_VERSION:-0.1.16}" +version="${MELOASR_VERSION:-0.1.17}" app_dir="${1:-${MELOASR_ELECTRON_APP_DIR:-${project_dir}/release/linux-unpacked}}" stage_dir="${project_dir}/packaging/out/rpm-root" top_dir="${project_dir}/packaging/out/rpmbuild" diff --git a/packaging/rpm/meloasr-binary.spec b/packaging/rpm/meloasr-binary.spec index b783b9b..3d4ba3b 100644 --- a/packaging/rpm/meloasr-binary.spec +++ b/packaging/rpm/meloasr-binary.spec @@ -36,6 +36,9 @@ tar -C %{buildroot} -xzf %{SOURCE0} /etc/xdg/autostart/meloasr.desktop %changelog +* Tue Sep 01 2026 MeloASR contributors - 0.1.17-1 +- Replace the application and tray icons; use one icon for ready and one for all not-ready states. + * Wed Aug 26 2026 MeloASR contributors - 0.1.16-1 - Migrate dependency installation and build commands from npm to pnpm. diff --git a/scripts/copy-static.mjs b/scripts/copy-static.mjs index 596efca..da5158f 100644 --- a/scripts/copy-static.mjs +++ b/scripts/copy-static.mjs @@ -8,10 +8,8 @@ const copies = [ ['src/renderer/overlay.html', 'dist/renderer/overlay.html'], ['src/renderer/overlay.css', 'dist/renderer/overlay.css'], ['src/assets/logo.png', 'dist/assets/logo.png'], - ['src/assets/tray-loading.png', 'dist/assets/tray-loading.png'], + ['src/assets/tray-notready.png', 'dist/assets/tray-notready.png'], ['src/assets/tray-ready.png', 'dist/assets/tray-ready.png'], - ['src/assets/tray-login-required.png', 'dist/assets/tray-login-required.png'], - ['src/assets/tray-error.png', 'dist/assets/tray-error.png'] ]; for (const [source, target] of copies) { diff --git a/src/assets/logo.png b/src/assets/logo.png index 63cd5d4..2d415e3 100644 Binary files a/src/assets/logo.png and b/src/assets/logo.png differ diff --git a/src/assets/tray-error.png b/src/assets/tray-error.png deleted file mode 100644 index 064e6b5..0000000 Binary files a/src/assets/tray-error.png and /dev/null differ diff --git a/src/assets/tray-loading.png b/src/assets/tray-loading.png deleted file mode 100644 index 36ddd23..0000000 Binary files a/src/assets/tray-loading.png and /dev/null differ diff --git a/src/assets/tray-login-required.png b/src/assets/tray-login-required.png deleted file mode 100644 index 4937c30..0000000 Binary files a/src/assets/tray-login-required.png and /dev/null differ diff --git a/src/assets/tray-notready.png b/src/assets/tray-notready.png new file mode 100644 index 0000000..8170ea0 Binary files /dev/null and b/src/assets/tray-notready.png differ diff --git a/src/assets/tray-ready.png b/src/assets/tray-ready.png index d3a9093..9ac7134 100644 Binary files a/src/assets/tray-ready.png and b/src/assets/tray-ready.png differ diff --git a/src/main/tray-controller.ts b/src/main/tray-controller.ts index 22996c9..d50fe6a 100644 --- a/src/main/tray-controller.ts +++ b/src/main/tray-controller.ts @@ -6,10 +6,10 @@ import type { SettingsWindow } from './settings-window'; type TrayState = 'loading' | 'ready' | 'login-required' | 'error'; const ICONS: Record = { - loading: 'tray-loading.png', + loading: 'tray-notready.png', ready: 'tray-ready.png', - 'login-required': 'tray-login-required.png', - error: 'tray-error.png' + 'login-required': 'tray-notready.png', + error: 'tray-notready.png' }; function trayImage(state: TrayState): Electron.NativeImage {