A full-featured download manager.
chore(release): prepare 2.3.0 (#2506)
Dr_rOot7892be20bfdf
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 0de9c4c5..3e069832 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -940,7 +940,7 @@ jobs:EXPECTED_COMMIT: ${{ github.sha }}EXPECTED_PLATFORM: ${{ matrix.platform }}# Updated only after reviewing the verifier source itself.- VERIFIER_SHA256: 189fc3a3718203e32cb37d38c1ce1508cb0f815f29acb08b801356c087bc02ce+ VERIFIER_SHA256: 178a000c977777f1559fe084f9762ff2014affbcd5346824028b20be031a4cccrun: |const crypto = require('node:crypto')const fs = require('node:fs')diff --git a/README.md b/README.mdindex 7a5e1eed..f8f2fe49 100644--- a/README.md+++ b/README.md@@ -19,14 +19,14 @@ The same core powers two ways to run Motrix:- **Desktop app:** Runs on macOS, Windows, and Linux- **Headless server:** Runs without a desktop environment, either directly on Node.js or in Docker, and includes a web UI for NAS devices and home servers-## Motrix 2.2.1+## Motrix 2.3.0-Motrix 2.2.1 fixes startup recovery for broken magnet sessions and restores safe-HTTP retries with the original task and download progress when the engine has-retained the required context. It bundles aria2 1.37.0-motrix.22 and fixes stale-retry actions after Web UI session changes.-Download [v2.2.1 from GitHub Releases](https://github.com/agalwood/Motrix/releases/tag/v2.2.1)-and read the [full release notes](./docs/release-notes/2.2.1.md).+Motrix 2.3.0 refreshes the application artwork, restores cloud-drive directory+downloads with aria2 1.37.0-motrix.23, and improves Server media tools, settings+and update checks. It also introduces native fnOS integration; FPK packages+remain separate test artifacts, not official Release downloads.+Download [v2.3.0 from GitHub Releases](https://github.com/agalwood/Motrix/releases/tag/v2.3.0)+and read the [full release notes](./docs/release-notes/2.3.0.md).Back up your existing Motrix profile and downloads before upgrading. The bundledengine upgrades its SQLite database to schema 6 and keeps a pre-upgrade backup;@@ -180,14 +180,14 @@ You can also install it from Settings → Integration → Command-line tools in### Headless server with DockerTagged releases publish a multi-architecture Server image to Docker Hub and-GHCR. Stable releases also update `2.2`, `2`, `stable`, and `latest` after runtime+GHCR. Stable releases also update `2.3`, `2`, `stable`, and `latest` after runtimeverification; beta releases publish only their immutable version tag. Theincluded `compose.yaml` keeps Server state separate from downloaded resources:```bashmkdir -p motrix-data downloadssudo chown 1000:1000 motrix-data downloads-export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.2.1'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.3.0'export MOTRIX_PUBLIC_URL='http://nas.example.lan:8080'docker compose pull serverdocker compose up -d --waitdiff --git a/README.zh-CN.md b/README.zh-CN.mdindex c0015220..c7e532c8 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -19,13 +19,13 @@ Motrix 是一款界面简洁、功能丰富的桌面下载管理器,可处理- **桌面应用**:可在 macOS、Windows 和 Linux 上运行;- **Headless server**:无需桌面环境,可直接使用 Node.js 运行或通过 Docker 部署,并提供 Web 界面,适合安装在 NAS 和家庭服务器上。-## Motrix 2.2.1+## Motrix 2.3.0-Motrix 2.2.1 修复损坏磁力任务会话导致的启动问题,并在引擎保留了所需上下文时,-使用原任务和已有下载进度安全重试 HTTP 下载。本版捆绑 aria2 1.37.0-motrix.22,-同时修复 Web UI 会话变化后仍执行旧重试操作的问题。-从 GitHub Releases 下载 [v2.2.1](https://github.com/agalwood/Motrix/releases/tag/v2.2.1),-并阅读[完整发布说明](./docs/release-notes/2.2.1.zh-CN.md)。+Motrix 2.3.0 更新应用图标,随 aria2 1.37.0-motrix.23 恢复网盘目录下载,+并完善 Server 媒体工具、设置和更新检查。同时引入飞牛 fnOS 原生集成;+FPK 仍为单独的测试构建产物,尚不属于正式 Release 下载。+从 GitHub Releases 下载 [v2.3.0](https://github.com/agalwood/Motrix/releases/tag/v2.3.0),+并阅读[完整发布说明](./docs/release-notes/2.3.0.zh-CN.md)。升级前请备份现有 Motrix 配置和下载文件。捆绑引擎会将 SQLite 数据库升级至schema 6,并保留升级前备份;旧引擎无法打开 schema 6,如需降级必须保留该备份。@@ -170,13 +170,13 @@ npm install -g @motrix/cli### Headless server(Docker)带 tag 的版本会把多架构 Server 镜像发布到 Docker Hub 和 GHCR。-正式版通过运行验证后还会更新 `2.2`、`2`、`stable` 和 `latest`,beta 仅发布+正式版通过运行验证后还会更新 `2.3`、`2`、`stable` 和 `latest`,beta 仅发布不可变的版本 tag。仓库的 `compose.yaml` 会分别持久化 Server 状态与用户下载资源:```bashmkdir -p motrix-data downloadssudo chown 1000:1000 motrix-data downloads-export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.2.1'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.3.0'export MOTRIX_PUBLIC_URL='http://nas.example.lan:8080'docker compose pull serverdocker compose up -d --waitdiff --git a/docs/release-notes/2.3.0.md b/docs/release-notes/2.3.0.mdnew file mode 100644index 00000000..b790f222--- /dev/null+++ b/docs/release-notes/2.3.0.md@@ -0,0 +1,65 @@+# Motrix 2.3.0++English | [简体中文](https://github.com/agalwood/Motrix/blob/v2.3.0/docs/release-notes/2.3.0.zh-CN.md)++Motrix 2.3.0 refreshes the application artwork, restores cloud-drive directory+downloads, and improves media tools and settings in Motrix Server. It also adds+native fnOS integration, currently distributed through separate test builds.++## Changes since 2.2.1++- Refresh application icons across desktop packages, the Web UI and fnOS, with+ native macOS icon resources and updated Windows installer artwork.+- Restore cloud-drive directory downloads with **aria2 1.37.0-motrix.23** and+ improve recovery when directory metadata is retried.+- Let Server users download and verify the official FFmpeg build from Media Tools,+ with progress and errors in the Web UI. Verified files persist in the data+ volume, and media capabilities refresh without restarting the Server.+- Make Web UI directory and in-app notification settings usable. Add Server+ update checks with stable/beta channel selection; installing a Server update+ still requires updating the deployment manually.+- Verify legacy macOS FFmpeg installations against signed release metadata before+ trusting them, and improve detection and repair feedback in Media Tools.+- Keep a hidden main window hidden when a new-download dialog is cancelled.+- Add native fnOS packaging for x64 and ARM64 with account-bound CLI and browser+ Extension authorization, system directory grants, and service lifecycle checks.+ The first integration is an administrator-shared instance: administrators share+ tasks and settings, and ordinary users are denied access. It does not provide+ per-user task isolation.++Electron remains **45.2.1**. Native fnOS FPKs are **test artifacts** from the+[fnOS workflow](https://github.com/agalwood/Motrix/actions/workflows/fnos.yml),+not assets of this GitHub Release or a verified app-store publication. Real-device+compatibility and installation validation remain necessary; see the+[fnOS package guide](https://github.com/agalwood/Motrix/blob/v2.3.0/packaging/fnos/README.md).++## Upgrade compatibility++**Back up your profile and download files before upgrading.** The bundled engine+uses SQLite **schema 6**. When upgrading an older engine database, retain its+complete pre-upgrade backup; older engines cannot open schema 6. Stop all engines+before restoring a verified backup to a separate path for a downgrade. Do not+reset or delete the upgraded database as a substitute for recovery.++Users migrating from Motrix v1 should follow the+[migration guide](https://github.com/agalwood/Motrix/blob/v2.3.0/docs/legacy-migration.md)+and retain the original profile and engine database backups.++## Downloads and updates++Desktop packages support macOS 13 or later, Windows 10 or later, and Linux, with+native x64 and ARM64 builds. No 32-bit desktop packages are provided. Official+macOS packages require signing and notarization. Windows NSIS installers and ZIP+archives are unsigned and may trigger SmartScreen; use official Release downloads.++Stable publication updates both `latest*.yml` and `beta*.yml` feeds to 2.3.0.+Flatpak bundles and Native Host companions remain separate downloads. Snap+availability requires verified Store publication to edge and promotion of the+same amd64/arm64 revisions through candidate to stable.++Server images use `docker.io/motrixapp/motrix-server:2.3.0` and+`ghcr.io/agalwood/motrix-server:2.3.0`. After public multi-platform runtime+verification, `2.3`, `2`, `stable`, and `latest` advance to the same verified digest.+See the [Docker Server guide](https://github.com/agalwood/Motrix/blob/v2.3.0/docs/docker-server.md).++[Full changelog](https://github.com/agalwood/Motrix/compare/v2.2.1...v2.3.0)diff --git a/docs/release-notes/2.3.0.zh-CN.md b/docs/release-notes/2.3.0.zh-CN.mdnew file mode 100644index 00000000..39f297ea--- /dev/null+++ b/docs/release-notes/2.3.0.zh-CN.md@@ -0,0 +1,56 @@+# Motrix 2.3.0++[English](https://github.com/agalwood/Motrix/blob/v2.3.0/docs/release-notes/2.3.0.md) | 简体中文++Motrix 2.3.0 更新应用图标,恢复网盘目录下载,并完善 Motrix Server 的媒体工具和设置。+本版还引入飞牛 fnOS 原生集成,目前通过单独的测试构建提供。++## 相比 2.2.1 的变化++- 更新桌面安装包、Web UI 和 fnOS 的应用图标,加入原生 macOS 图标资源,+ 并更新 Windows 安装程序插图。+- 随 **aria2 1.37.0-motrix.23** 恢复网盘目录下载,并改善目录元数据重试后的恢复行为。+- Server 用户可在媒体工具中下载并验证官方 FFmpeg,Web UI 会显示进度和错误。+ 验证后的文件保存在数据卷中,媒体能力无需重启 Server 即可刷新。+- 修复 Web UI 目录设置和应用内通知设置的操作。新增 Server 更新检查,支持选择+ stable/beta 通道;安装 Server 更新仍需手动更新部署。+- 根据已签名的发布元数据验证旧版 macOS FFmpeg 安装后再信任它,+ 并改善媒体工具中的检测与修复反馈。+- 取消新建下载对话框时,保持原本隐藏的主窗口隐藏。+- 新增 x64 和 ARM64 飞牛 fnOS 原生打包,支持绑定账号的 CLI 和浏览器扩展授权、+ 系统目录授权及服务生命周期检查。首版采用管理员共享实例:管理员共享任务和设置,+ 普通用户无法访问;不提供按用户隔离任务的能力。++Electron 保持为 **45.2.1**。原生 fnOS FPK 是+[fnOS 工作流](https://github.com/agalwood/Motrix/actions/workflows/fnos.yml)生成的+**测试构建产物**,不是本次 GitHub Release 的附件,也不代表已经验证的应用商店上架。+仍需在真实设备上验证兼容性和安装行为,详见+[fnOS 打包指南](https://github.com/agalwood/Motrix/blob/v2.3.0/packaging/fnos/README.md)。++## 升级兼容性++**升级前请备份配置和下载文件。** 捆绑引擎使用 SQLite **schema 6**。+从旧版引擎数据库升级时,请保留完整的升级前备份;旧引擎无法打开 schema 6。+如需降级,应先停止所有引擎,再将验证过的备份恢复到单独路径。+不要通过重置或删除已升级数据库来代替恢复。++从 Motrix v1 迁移的用户应遵循+[迁移指南](https://github.com/agalwood/Motrix/blob/v2.3.0/docs/legacy-migration.zh-CN.md),+并保留原始配置及引擎数据库备份。++## 下载与更新++桌面安装包支持 macOS 13 及以上、Windows 10 及以上和 Linux,提供原生 x64 与 ARM64+构建,不提供 32 位桌面安装包。官方 macOS 安装包必须经过签名和公证。+Windows NSIS 安装程序和 ZIP 未签名,可能触发 SmartScreen;请使用官方 Release 下载。++正式发布会将 `latest*.yml` 和 `beta*.yml` 更新源同时更新至 2.3.0。+Flatpak 安装包和 Native Host 配套程序仍单独提供下载。Snap 可用性以验证后的 Store+发布为准:先发布至 edge,再将同一组 amd64/arm64 修订依次晋级至 candidate 和 stable。++Server 镜像使用 `docker.io/motrixapp/motrix-server:2.3.0` 和+`ghcr.io/agalwood/motrix-server:2.3.0`。公开镜像通过多平台运行验证后,+`2.3`、`2`、`stable` 和 `latest` 将指向同一已验证摘要。详见+[Docker Server 指南](https://github.com/agalwood/Motrix/blob/v2.3.0/docs/docker-server.zh-CN.md)。++[完整变更](https://github.com/agalwood/Motrix/compare/v2.2.1...v2.3.0)diff --git a/electron-builder.json b/electron-builder.jsonindex cd1700b0..229c83c7 100644--- a/electron-builder.json+++ b/electron-builder.json@@ -91,8 +91,8 @@"category": "public.app-category.utilities","type": "distribution","artifactName": "${productName}-${version}-${arch}.${ext}",- "bundleShortVersion": "2.2.1",- "bundleVersion": "2.2.1",+ "bundleShortVersion": "2.3.0",+ "bundleVersion": "2.3.0","minimumSystemVersion": "13.0","hardenedRuntime": true,"gatekeeperAssess": false,diff --git a/electron-builder.signing.json b/electron-builder.signing.jsonindex 78c5cb26..0c9d005b 100644--- a/electron-builder.signing.json+++ b/electron-builder.signing.json@@ -89,8 +89,8 @@"category": "public.app-category.utilities","type": "distribution","artifactName": "${productName}-${version}-${arch}.${ext}",- "bundleShortVersion": "2.2.1",- "bundleVersion": "2.2.1",+ "bundleShortVersion": "2.3.0",+ "bundleVersion": "2.3.0","minimumSystemVersion": "13.0","hardenedRuntime": true,"gatekeeperAssess": false,diff --git a/flatpak/app.motrix.native.metainfo.xml b/flatpak/app.motrix.native.metainfo.xmlindex d96554e3..0a9b2cca 100644--- a/flatpak/app.motrix.native.metainfo.xml+++ b/flatpak/app.motrix.native.metainfo.xml@@ -68,6 +68,16 @@</screenshots><releases>+ <release version="2.3.0" date="2026-11-05">+ <description>+ <p>+ Refreshes application artwork and restores cloud-drive directory+ downloads with aria2 1.37.0-motrix.23. Improves Server media tools,+ settings and update checks, verifies legacy macOS FFmpeg installations,+ and preserves hidden windows when cancelling new tasks.+ </p>+ </description>+ </release><release version="2.2.1" date="2026-11-03"><description><p>diff --git a/package.json b/package.jsonindex 97f614ea..9325e663 100644--- a/package.json+++ b/package.json@@ -3,7 +3,7 @@"type": "module","productName": "Motrix","homepage": "https://motrix.app",- "version": "2.2.1",+ "version": "2.3.0","packageManager": "[email protected]+sha512.091d1dee7927575661b25dab3c2ae31cafc1c54d6b71ed6a6600cf0c1cb10434a447eae14015f1b23e2e6bedeed79df94a932e2164d2832280dce3fb32f656d1","description": "A full-featured download manager","keywords": [],diff --git a/scripts/release-signing-input.mjs b/scripts/release-signing-input.mjsindex ff66c110..20d59866 100644--- a/scripts/release-signing-input.mjs+++ b/scripts/release-signing-input.mjs@@ -47,7 +47,7 @@ const TRUSTED_INPUT_SHA256 = Object.freeze({'scripts/sign-macos.mjs':'98bda5c77dce2a3e5d9c9a2f8211f4d5594d060bf9d2839326db50dc41f8c58b','electron-builder.signing.json':- '6f793ce964e33695fcb07b98c36ff08ca49941a1c504f3c039852d0a4d2c6b1e',+ 'ee628df18b1699397d4b157117364f9f68675593f2e171841ed9fb5129642642','signing-build-resources/256x256.png':'dcc14074b89edd296147ccd427e204e592c873cb2710eef539fabf2184ad0031','signing-build-resources/background.tiff':