A full-featured download manager.
chore(release): prepare 2.0.0-beta.45
Dr_rOotfc8750778a95
diff --git a/README.md b/README.mdindex 4a3c2448..361d3481 100644--- a/README.md+++ b/README.md@@ -22,8 +22,8 @@ The same core powers two ways to run Motrix:## 🧪 Beta testingMotrix Turbo v2 is currently in beta. After its remaining release gates pass,-download [v2.0.0-beta.44 from GitHub Releases](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.44)-and read the [full release notes](./docs/release-notes/2.0.0-beta.44.md) before+download [v2.0.0-beta.45 from GitHub Releases](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.45)+and read the [full release notes](./docs/release-notes/2.0.0-beta.45.md) beforeinstalling it.Back up your existing Motrix data and downloads before testing. Migration from@@ -180,7 +180,7 @@ downloaded resources:```bashmkdir -p motrix-data downloadssudo chown 1000:1000 motrix-data downloads-export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.44'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.45'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 f26bdbef..261cd54a 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -22,8 +22,8 @@ Motrix 是一款界面简洁、功能丰富的桌面下载管理器,可处理## 🧪 Beta 测试Motrix Turbo v2 目前仍处于 beta 阶段。剩余发布门禁通过后,请从 GitHub Releases-下载 [v2.0.0-beta.44](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.44),-并在安装前阅读[完整发布说明](./docs/release-notes/2.0.0-beta.44.zh-CN.md)。+下载 [v2.0.0-beta.45](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.45),+并在安装前阅读[完整发布说明](./docs/release-notes/2.0.0-beta.45.zh-CN.md)。测试前请备份现有 Motrix 数据和下载文件。Motrix v1 数据的迁移路径尚未经过验证,请勿让本 beta 使用您唯一一份 v1 数据。条件允许时,建议通过独立的系统@@ -170,7 +170,7 @@ Beta 只发布不可变的版本 tag,不会更新 `latest`;仓库的 `compos```bashmkdir -p motrix-data downloadssudo chown 1000:1000 motrix-data downloads-export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.44'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.45'export MOTRIX_PUBLIC_URL='http://nas.example.lan:8080'docker compose pull serverdocker compose up -d --waitdiff --git a/docs/release-notes/2.0.0-beta.45.md b/docs/release-notes/2.0.0-beta.45.mdnew file mode 100644index 00000000..260e43f3--- /dev/null+++ b/docs/release-notes/2.0.0-beta.45.md@@ -0,0 +1,113 @@+# Motrix 2.0.0-beta.45++English | [简体中文](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.45/docs/release-notes/2.0.0-beta.45.zh-CN.md)++Motrix 2.0.0-beta.45 adds verified one-click FFmpeg installation, restores a+safe subset of Motrix app links, and can shut down the computer after downloads+finish. It also adds Hungarian, makes the Safari extension easier to discover,+and includes download, NAT, and inspector fixes.++## Highlights++- Media tools can install an official FFmpeg build with one click on supported+ macOS, Windows, and Linux targets. Motrix authenticates the release manifest,+ validates redirects, hashes, archive contents, executable architecture, and+ platform trust requirements before atomically activating it. FFmpeg remains+ a separate, user-initiated download rather than part of the app package+ ([#2299](https://github.com/agalwood/Motrix/pull/2299)).+- The Downloads footer has an opt-in action to shut down the computer once all+ downloads and finalization work finish, with a cancellable 60-second+ countdown. It is unavailable in Web, Snap, and Flatpak builds+ ([#2284](https://github.com/agalwood/Motrix/pull/2284)).+- A bounded set of `motrix://` links can navigate to views or prefill a new+ task while still requiring explicit submission. The old `mo://` scheme and+ links that directly control tasks or reveal local paths are retired+ ([#2300](https://github.com/agalwood/Motrix/pull/2300)).+- Hungarian joins the supported interface languages, and the Integration page+ now links to the separately distributed Safari extension+ ([#2117](https://github.com/agalwood/Motrix/pull/2117),+ [#2283](https://github.com/agalwood/Motrix/pull/2283)).+- Browser-submitted downloads now accept IP addresses, localhost, and local+ hostnames, avoid a synthesized empty `Authorization` header, and preserve+ filenames across cross-origin redirects+ ([#2282](https://github.com/agalwood/Motrix/pull/2282),+ [#2276](https://github.com/agalwood/Motrix/pull/2276),+ [#2295](https://github.com/agalwood/Motrix/pull/2295)).+- Every download row remains reachable while the inspector drawer is open,+ including after compact-layout resizing. Blank toolbar space is draggable+ only in compact layouts, so an empty search can be dismissed normally in an+ expanded window ([#2288](https://github.com/agalwood/Motrix/pull/2288),+ [#2290](https://github.com/agalwood/Motrix/pull/2290),+ [#2281](https://github.com/agalwood/Motrix/pull/2281)).+- Automatic port mapping now accepts valid Unicode router descriptions such as+ Huawei AX3 advertisements ([#2297](https://github.com/agalwood/Motrix/pull/2297)).+- Electron, pnpm, signing dependencies, and security locks are refreshed; both+ dependency trees reported no known vulnerabilities when the update was+ prepared ([#2287](https://github.com/agalwood/Motrix/pull/2287)).++## Before testing++This is prerelease software. Back up existing Motrix application data and+downloads before installing it. Migration from Motrix v1 data has not yet been+validated, so do not use your only copy of v1 data with this beta.++When practical, test v2 in parallel using a separate OS account, machine, or+Docker data directory.++For the managed FFmpeg path, open Settings → Integration → Media tools and use+the install action. Active plugins need a Motrix restart before they detect a+new managed FFmpeg installation. Windows FFmpeg builds are unsigned and may+show SmartScreen warnings; macOS builds must pass Motrix's pinned signing and+online notarization checks.++The shutdown action is deliberately one-time. Paused, failed, queued, or+metadata-pending work blocks it, and a new task or state change cancels the+countdown. Test it only after saving open work in other applications.++After the protected Snap workflow completes, testers can install the strictly+confined build with `sudo snap install motrix --edge`. Existing installations+tracking `latest/edge` should upgrade to the same beta.45 revision set.++## Planned downloads after release gates pass++| Distribution | Architectures | Planned output |+|--------------|---------------|----------------|+| macOS 13 or later | `arm64` (Apple Silicon), `x64` (Intel) | Signed and notarized DMG and ZIP |+| Windows | `x64` | Unsigned NSIS installer (`.exe`) and ZIP |+| Linux | `x64`, `arm64` | AppImage, DEB, RPM, and pacman |+| Flatpak application | `x86_64`, `aarch64` | `Motrix-2.0.0-beta.45-<arch>.flatpak` |+| Flatpak Native Host companion | `linux/x64`, `linux/arm64` | `Motrix-Native-Host-2.0.0-beta.45-linux-<arch>.tar.gz` |+| Docker Hub / GHCR | `linux/amd64`, `linux/arm64` | Immutable `2.0.0-beta.45` tag in both registries |+| Snap Store | `amd64`, `arm64` | Verified build set on `latest/edge` |++After every container gate passes, the versioned image references will be+`docker.io/motrixapp/motrix-server:2.0.0-beta.45` and+`ghcr.io/agalwood/motrix-server:2.0.0-beta.45`. See the+[Docker Server guide](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.45/docs/docker-server.md)+for storage, networking, and upgrades.++## Distribution notes++- Flatpak bundles use application ID `app.motrix.native` and the `beta` branch.+ Download each new bundle and install it with `flatpak install --user+ --or-update`; no Motrix update remote is configured by these single-file+ bundles. Update the Native Host companion separately when using browser+ integration. See the+ [Flatpak guide](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.45/docs/flatpak.md).+- AppImage desktop integration remains opt-in. Browser cold launch requires+ the separately enabled Native Messaging host and a registered AppImage path;+ reconnecting with a saved pairing also requires a compatible Extension.+- Windows `arm64` and all 32-bit packages are unavailable. Windows packages are+ unsigned and may trigger Windows SmartScreen warnings; download them only+ from the official published GitHub prerelease.+- Beta container tags are immutable and do not update `latest`, `stable`, or+ other stable-channel aliases.+- Snap packages use strict confinement. The approved `personal-files`+ interface is limited to Native Messaging host registration for supported+ browsers. Beta publication updates `latest/edge` only.++## Feedback++Report reproducible problems through+[GitHub Issues](https://github.com/agalwood/Motrix/issues), including your OS,+architecture, package type, and reproduction steps.diff --git a/docs/release-notes/2.0.0-beta.45.zh-CN.md b/docs/release-notes/2.0.0-beta.45.zh-CN.mdnew file mode 100644index 00000000..b3f956a1--- /dev/null+++ b/docs/release-notes/2.0.0-beta.45.zh-CN.md@@ -0,0 +1,92 @@+# Motrix 2.0.0-beta.45++[English](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.45/docs/release-notes/2.0.0-beta.45.md) | 简体中文++Motrix 2.0.0-beta.45 新增经过验证的一键 FFmpeg 安装、恢复安全范围内的 Motrix+应用链接,并可在下载完成后关闭电脑。本版本还加入匈牙利语、让 Safari 扩展+更易发现,同时修复下载、NAT 和详情抽屉相关问题。++## 主要更新++- 媒体工具现在可以在受支持的 macOS、Windows 和 Linux 目标上一键安装官方+ FFmpeg。Motrix 会先验证发布清单签名、跳转、哈希、压缩包内容、可执行文件+ 架构和平台信任要求,再以原子方式启用新版本。FFmpeg 仍是由用户主动下载的+ 独立组件,不会打包进应用([#2299](https://github.com/agalwood/Motrix/pull/2299))。+- 下载页底部新增一次性的“全部完成后关机”操作。所有下载和收尾工作结束后,+ 会进入可取消的 60 秒倒计时。Web、Snap 和 Flatpak 构建不提供此功能+ ([#2284](https://github.com/agalwood/Motrix/pull/2284))。+- 受限范围内的 `motrix://` 链接可导航到页面或预填新任务,但仍需用户明确+ 提交。旧的 `mo://` 协议,以及直接控制任务或显示本地路径的链接已停用+ ([#2300](https://github.com/agalwood/Motrix/pull/2300))。+- 界面新增匈牙利语;Integration 页面也加入单独分发的 Safari 扩展入口+ ([#2117](https://github.com/agalwood/Motrix/pull/2117)、+ [#2283](https://github.com/agalwood/Motrix/pull/2283))。+- 浏览器提交的下载现在支持 IP 地址、localhost 和本地主机名,不再自动合成+ 空的 `Authorization` 请求头,并能在跨域跳转后保留正确文件名+ ([#2282](https://github.com/agalwood/Motrix/pull/2282)、+ [#2276](https://github.com/agalwood/Motrix/pull/2276)、+ [#2295](https://github.com/agalwood/Motrix/pull/2295))。+- 详情抽屉打开时,所有下载行都能滚动到可见区域;紧凑布局尺寸变化后也会+ 及时更新。工具栏空白区域仅在紧凑布局中可拖动,展开窗口时可正常取消空搜索+ ([#2288](https://github.com/agalwood/Motrix/pull/2288)、+ [#2290](https://github.com/agalwood/Motrix/pull/2290)、+ [#2281](https://github.com/agalwood/Motrix/pull/2281))。+- 自动端口映射现在接受合法的 Unicode 路由器描述,例如华为 AX3 的广播信息+ ([#2297](https://github.com/agalwood/Motrix/pull/2297))。+- Electron、pnpm、签名依赖和安全锁文件已更新;准备更新时,两套依赖树均未+ 报告已知漏洞([#2287](https://github.com/agalwood/Motrix/pull/2287))。++## 测试前须知++这是预发布软件。安装前请备份现有 Motrix 应用数据和下载文件。Motrix v1 数据的+迁移路径尚未经过验证,请勿让本 beta 使用您唯一的一份 v1 数据。++条件允许时,请使用独立的操作系统账号、设备或 Docker 数据目录并行测试 v2。++如需使用托管 FFmpeg,请打开 Settings → Integration → Media tools 并执行安装。+正在运行的插件需要重启 Motrix,才能识别新安装的托管 FFmpeg。Windows FFmpeg+构建未签名,可能显示 SmartScreen 警告;macOS 构建必须通过 Motrix 固定的签名+身份和在线公证检查。++关机操作仅生效一次。暂停、失败、排队或等待元数据的任务会阻止关机;新任务或+状态变化会取消倒计时。测试前请先保存其他应用中尚未保存的工作。++受保护的 Snap 工作流完成后,可使用 `sudo snap install motrix --edge` 安装+严格限制的构建。已跟踪 `latest/edge` 的安装应升级到同一组 beta.45 revision。++## 发布门禁通过后计划提供的下载++| 分发方式 | 架构 | 计划产物 |+|---------|------|---------|+| macOS 13 或更高版本 | `arm64`(Apple Silicon)、`x64`(Intel) | 已签名并公证的 DMG 和 ZIP |+| Windows | `x64` | 未签名 NSIS 安装程序(`.exe`)和 ZIP |+| Linux | `x64`、`arm64` | AppImage、DEB、RPM 和 pacman |+| Flatpak 主程序 | `x86_64`、`aarch64` | `Motrix-2.0.0-beta.45-<arch>.flatpak` |+| Flatpak Native Host companion | `linux/x64`、`linux/arm64` | `Motrix-Native-Host-2.0.0-beta.45-linux-<arch>.tar.gz` |+| Docker Hub / GHCR | `linux/amd64`、`linux/arm64` | 两个仓库中的不可变 `2.0.0-beta.45` 标签 |+| Snap Store | `amd64`、`arm64` | `latest/edge` 上的已验证构建集 |++所有容器门禁通过后,可使用以下带版本镜像:+`docker.io/motrixapp/motrix-server:2.0.0-beta.45` 和+`ghcr.io/agalwood/motrix-server:2.0.0-beta.45`。存储、网络与升级说明请参阅+[Docker Server 部署指南](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.45/docs/docker-server.zh-CN.md)。++## 分发说明++- Flatpak 主程序使用应用 ID `app.motrix.native` 和 `beta` 分支。每次升级需+ 下载新包并执行 `flatpak install --user --or-update`;这些单文件包没有配置+ Motrix 更新 remote。使用浏览器集成时,还需单独更新 Native Host companion。+ 详见 [Flatpak 指南](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.45/docs/flatpak.zh-CN.md)。+- AppImage 桌面集成仍需主动启用。浏览器冷启动需要单独启用 Native Messaging+ host 并注册 AppImage 路径;使用已保存配对重连还需要兼容的配套 Extension。+- 不提供 Windows `arm64` 和所有 32 位安装包。Windows 安装包未签名,可能触发+ Windows SmartScreen 警告,请仅从已发布的官方 GitHub 预发布版下载。+- Beta 容器标签不可变,也不会更新 `latest`、`stable` 或其他稳定通道浮动标签。+- Snap 安装包使用严格限制。已批准的 `personal-files` interface 仅用于为支持的+ 浏览器注册 Native Messaging host manifest。Beta 发布只会更新 `latest/edge`。++## 反馈++如遇到可复现问题,请通过+[GitHub Issues](https://github.com/agalwood/Motrix/issues)反馈,并附上操作系统、+架构、安装包类型和复现步骤。diff --git a/flatpak/app.motrix.native.metainfo.xml b/flatpak/app.motrix.native.metainfo.xmlindex 77042a01..64a53b42 100644--- a/flatpak/app.motrix.native.metainfo.xml+++ b/flatpak/app.motrix.native.metainfo.xml@@ -68,6 +68,15 @@</screenshots><releases>+ <release version="2.0.0-beta.45" date="2026-10-02">+ <description>+ <p>+ Adds verified one-click FFmpeg installation, safe Motrix deep links,+ shutdown after downloads finish, Hungarian localization, Safari+ extension discovery, and download, NAT, and inspector fixes.+ </p>+ </description>+ </release><release version="2.0.0-beta.44" date="2026-09-29"><description><p>diff --git a/package.json b/package.jsonindex 56c19e1e..ea6a7711 100644--- a/package.json+++ b/package.json@@ -3,7 +3,7 @@"type": "module","productName": "Motrix","homepage": "https://motrix.app",- "version": "2.0.0-beta.44",+ "version": "2.0.0-beta.45","packageManager": "[email protected]+sha512.f64ba907507f5ceafe06c8d38e6052d0179444580ec1279ddd5bfc11cb48aa8a2644b66598e07e761da84872a9fc57d5f902b87fa49d024198d558612aabbe45","description": "A full-featured download manager","keywords": [],