A full-featured download manager.
chore(engine): bundle verified aria2 motrix.18 release (#2399)
Dr_rOotb4a0865d2cdf
diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.ymlindex c6b3dcc7..85087f01 100644--- a/.github/workflows/flatpak.yml+++ b/.github/workflows/flatpak.yml@@ -341,7 +341,7 @@ jobs:-path "*/native-messaging-hosts/*" \\) -print -quit)"output="$("$aria2c" --version)"- printf "%s\n" "$output" | grep -qF "aria2 version 1.37.0-motrix.17"+ printf "%s\n" "$output" | grep -qF "aria2 version 1.37.0-motrix.18"printf "%s\n" "$output" | grep -qF "Async DNS"printf "%s\n" "$output" | grep -qF "BitTorrent"printf "%s\n" "$output" | grep -qF "HTTPS"diff --git a/README.md b/README.mdindex 5ca2fab9..b376bd12 100644--- a/README.md+++ b/README.md@@ -28,10 +28,13 @@ installing it.Back up your existing Motrix data and downloads before testing. The desktopMigration Assistant imports selected v1 tasks as paused records and preserves-the original files. Resuming downloads requires a separate explicit action;-legacy progress import is unavailable on Windows. Keep a backup of the v1-profile and the engine's pre-upgrade database snapshot. When practical, test v2-in parallel using a separate OS account, machine, or Docker data directory.+the original files. Resuming downloads requires a separate explicit action.+Windows in-place BT activation requires a build with the native migration-capable+engine; the beta.50 package does not include it. See the+[migration guide](./docs/legacy-migration.md) for supported volumes, file permissions,+and recovery. Keep a backup of the v1 profile and the engine's pre-upgrade database+snapshot. When practical, test v2 in parallel using a separate OS account,+machine, or Docker data directory.## Screenshotsdiff --git a/README.zh-CN.md b/README.zh-CN.mdindex e70f910e..abf3cd73 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -26,9 +26,11 @@ Motrix Turbo v2 目前仍处于 beta 阶段。剩余发布门禁通过后,请并在安装前阅读[完整发布说明](./docs/release-notes/2.0.0-beta.50.zh-CN.md)。测试前请备份现有 Motrix 数据和下载文件。桌面端迁移助手会将选中的 v1 任务-导入为暂停记录,并保留原文件;恢复下载需要单独明确操作,Windows 暂不支持-旧下载进度导入。请保留 v1 配置和引擎升级前数据库快照的备份。条件允许时,-建议通过独立的系统账户、设备或 Docker 数据目录与现有环境并行测试 v2。+导入为暂停记录,并保留原文件;恢复下载需要单独明确操作。Windows 原位 BT+激活需要使用包含原生迁移能力引擎的构建,beta.50 安装包尚未包含该引擎。+支持的磁盘类型、文件权限和恢复方式见[迁移指南](./docs/legacy-migration.zh-CN.md)。+请保留 v1 配置和引擎升级前数据库快照的备份。条件允许时,建议通过独立的系统+账户、设备或 Docker 数据目录与现有环境并行测试 v2。## 应用截图diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.mdindex 766d4a97..f3a8d517 100644--- a/THIRD_PARTY_NOTICES.md+++ b/THIRD_PARTY_NOTICES.md@@ -102,8 +102,8 @@ must obtain permission or replace the font before distributing the build.Desktop builds bundle an `aria2c` executable pinned by`scripts/engine.lock.json`:-- **Version:** 1.37.0-motrix.17-- **Source:** <https://github.com/motrixapp/aria2/tree/v1.37.0-motrix.17>+- **Version:** 1.37.0-motrix.18+- **Source:** <https://github.com/motrixapp/aria2/tree/v1.37.0-motrix.18>- **License:** GNU General Public License v2.0 or later (`GPL-2.0-or-later`)- **Full license text:** `THIRD_PARTY_LICENSES/aria2-COPYING`- **OpenSSL exception / notice:**diff --git a/THIRD_PARTY_NOTICES.zh-CN.md b/THIRD_PARTY_NOTICES.zh-CN.mdindex faef9eab..4609db1f 100644--- a/THIRD_PARTY_NOTICES.zh-CN.md+++ b/THIRD_PARTY_NOTICES.zh-CN.md@@ -87,8 +87,8 @@ Safari 图标是从 macOS 27.0(26A428)自带的 Safari 27.0 中 `Safari.app/桌面版随应用打包 `aria2c` 可执行文件,版本由 `scripts/engine.lock.json` 固定:-- **版本:** 1.37.0-motrix.17-- **对应源码:** <https://github.com/motrixapp/aria2/tree/v1.37.0-motrix.17>+- **版本:** 1.37.0-motrix.18+- **对应源码:** <https://github.com/motrixapp/aria2/tree/v1.37.0-motrix.18>- **许可证:** GNU General Public License v2.0 or later(`GPL-2.0-or-later`)- **完整许可证文本:** `THIRD_PARTY_LICENSES/aria2-COPYING`- **OpenSSL 例外条款 / 声明:**diff --git a/flatpak/app.motrix.native.yml b/flatpak/app.motrix.native.ymlindex 2a70b534..22e5fbd2 100644--- a/flatpak/app.motrix.native.yml+++ b/flatpak/app.motrix.native.yml@@ -101,7 +101,7 @@ modules:set -eoutput="$(src/aria2c --version)"printf '%s\n' "$output"- printf '%s\n' "$output" | grep -qF 'aria2 version 1.37.0-motrix.17'+ printf '%s\n' "$output" | grep -qF 'aria2 version 1.37.0-motrix.18'for feature in \'Async DNS' \'BitTorrent' \@@ -123,8 +123,8 @@ modules:sources:- type: giturl: https://github.com/motrixapp/aria2.git- tag: v1.37.0-motrix.17- commit: 479425df8fb4057d9d2b0370c36ca70ed776114d+ tag: v1.37.0-motrix.18+ commit: f86316d812d4e1afa8949095e6d0941e558873abx-checker-data:type: gittag-pattern: ^v([\d.]+-motrix\.\d+)$@@ -136,9 +136,9 @@ modules:commands:- |sed -i -E \- 's/AC_INIT\(\[aria2\],\[[^]]+\]/AC_INIT([aria2],[1.37.0-motrix.17]/' \+ 's/AC_INIT\(\[aria2\],\[[^]]+\]/AC_INIT([aria2],[1.37.0-motrix.18]/' \configure.ac- grep -qF 'AC_INIT([aria2],[1.37.0-motrix.17]' configure.ac+ grep -qF 'AC_INIT([aria2],[1.37.0-motrix.18]' configure.ac- type: scriptdest-filename: autogen.shcommands:diff --git a/scripts/engine.lock.json b/scripts/engine.lock.jsonindex 4a07d25a..1fd69290 100644--- a/scripts/engine.lock.json+++ b/scripts/engine.lock.json@@ -1,50 +1,50 @@{"engine": "aria2","repo": "motrixapp/aria2",- "tag": "v1.37.0-motrix.17",- "version": "1.37.0-motrix.17",+ "tag": "v1.37.0-motrix.18",+ "version": "1.37.0-motrix.18","assets": {"darwin-arm64": {- "file": "aria2c-1.37.0-motrix.17-darwin-arm64.tar.gz",+ "file": "aria2c-1.37.0-motrix.18-darwin-arm64.tar.gz","bin": "aria2c",- "archiveSha256": "27d3b5973f389404c629fb1a16d2d6e0e8679bb5ccac1805acf864e1d6d26afa",- "binarySha256": "5b7622f0232cb5bd46283c3a7a113af5d63a9507aa2a9f8680ca44564173d023"+ "archiveSha256": "e25c881f60b2fbbf21e2137f5b39646e28524cd38b4dca76530abecf4edf1363",+ "binarySha256": "cd1da52159a5bcba3214ee80a7870f988b43d32839f5e02c5b63715814c5a1f3"},"darwin-x64": {- "file": "aria2c-1.37.0-motrix.17-darwin-x64.tar.gz",+ "file": "aria2c-1.37.0-motrix.18-darwin-x64.tar.gz","bin": "aria2c",- "archiveSha256": "77c4eeb851484023e76f67860320f610bcb665e15703d2373a954062869d8ccf",- "binarySha256": "f2190de53434a56940421eb46aeb8e3eff16a87fd107aa2280da00297eb9e8ea"+ "archiveSha256": "ef37bb8cdcdb61fd055db259930b97baed96056799dbe4db47a62c718e52687a",+ "binarySha256": "ccc02625f9d37cb4f2cd57e129e2e3ccb99eb0874255ccab31905cdd27c38f29"},"win32-x64": {- "file": "aria2c-1.37.0-motrix.17-win32-x64.zip",+ "file": "aria2c-1.37.0-motrix.18-win32-x64.zip","bin": "aria2c.exe",- "archiveSha256": "809e667a95c0332505bc314f85ff97641c49da7c16c8990b1fcbf9c5e0920021",- "binarySha256": "193ac31a3a00dd4430f5f8068ac073e5110b67f4d5a5faf41914a2eb4ebb547c"+ "archiveSha256": "612990ae8f0a406c38a7de67795eee0ef031bf8b9c2031f4ea0933640db2589a",+ "binarySha256": "514cebdce6496eaacd76a5aa217848db3aee572747075bfa572c23430e3d5c04"},"win32-ia32": {- "file": "aria2c-1.37.0-motrix.17-win32-ia32.zip",+ "file": "aria2c-1.37.0-motrix.18-win32-ia32.zip","bin": "aria2c.exe",- "archiveSha256": "4557182a35a863de652e66e691d17587746d53b05ff2f1ded207b644a1160fcb",- "binarySha256": "f94265192b87aab0bdb10cfa96f431d8942a1abee8cd8a5c52bb2be160cc6faa"+ "archiveSha256": "2a40692b15ed7825d6621701dd46f80adadb5074264dfe6545dc948b4192a9a8",+ "binarySha256": "8645bb7c27d2e45768025c29e4cdc5811918cd70e59291b79070198107200b44"},"linux-x64": {- "file": "aria2c-1.37.0-motrix.17-linux-x64.tar.gz",+ "file": "aria2c-1.37.0-motrix.18-linux-x64.tar.gz","bin": "aria2c",- "archiveSha256": "7e7d65892da33111d980afac72654512c50875f27241a665c320d5d8447e639b",- "binarySha256": "eb9635c3ca3ae778a4874d2065869015c6b49d059ccc41cebd2426146c5ebf59"+ "archiveSha256": "b772e5a95438b77ce96d4a50bdf6e9cfc5e3a4d636395ce21b566f45843943c1",+ "binarySha256": "73ca99bc94a6d92e18dab25ab9065cb4c694c82d42a57f1076d9d9924fd6585e"},"linux-arm64": {- "file": "aria2c-1.37.0-motrix.17-linux-arm64.tar.gz",+ "file": "aria2c-1.37.0-motrix.18-linux-arm64.tar.gz","bin": "aria2c",- "archiveSha256": "ab1be3f6bc039c73006318c744682dc24a7ece90bb178e0951bf8769385f0aca",- "binarySha256": "7b0f1f5a897cd944b5c9bbaa87c9353d48960bbc6a16ad3213a3a01421bbffff"+ "archiveSha256": "ba91cf22bd5de76282326a6d75bfe5b19d1c1f8acbd91e739e185e9b400195d1",+ "binarySha256": "c009310fa67de325e3b4cabb783ebc86422da3ad42de50d294fabd4b55242134"},"linux-arm": {- "file": "aria2c-1.37.0-motrix.17-linux-armv7l.tar.gz",+ "file": "aria2c-1.37.0-motrix.18-linux-armv7l.tar.gz","bin": "aria2c",- "archiveSha256": "5a48d36a0ed856ef7a95bda098dfddfe6a958090711a0b87e23ab46f22c89085",- "binarySha256": "470f686c810e77108d09573686b1063da0ef1bfbae8c5cc64d77f4edcca07bd6"+ "archiveSha256": "39525e2d56e6f4b723eaa02196ec0ce2a6e3df61c170cd7bebea283c36b66f8b",+ "binarySha256": "b3d01b78e41ab9c5d120c15814893d0d1e624df5b86095012c340954f214b014"}}}diff --git a/scripts/verify-flatpak-packaging.mjs b/scripts/verify-flatpak-packaging.mjsindex b47be49f..90743641 100644--- a/scripts/verify-flatpak-packaging.mjs+++ b/scripts/verify-flatpak-packaging.mjs@@ -18,8 +18,8 @@ export const FLATPAK_BUILDER_TOOLS_COMMIT =// tag resolves to is pinned by hand (and cross-checked against the manifest).export const ARIA2_SOURCE = Object.freeze({url: 'https://github.com/motrixapp/aria2.git',- // v1.37.0-motrix.17 — current Motrix aria2 fork release- commit: '479425df8fb4057d9d2b0370c36ca70ed776114d',+ // v1.37.0-motrix.18 — current Motrix aria2 fork release+ commit: 'f86316d812d4e1afa8949095e6d0941e558873ab',})const PNPM_SOURCE = Object.freeze({diff --git a/tests/check-third-party-notices.test.ts b/tests/check-third-party-notices.test.tsindex 4bcc559a..1776d210 100644--- a/tests/check-third-party-notices.test.ts+++ b/tests/check-third-party-notices.test.ts@@ -460,9 +460,9 @@ describe('third-party graph dependency notices', () => {expect(notice).toContain('SFNS-Regular.ttf')expect(notice).toContain('https://developer.apple.com/fonts/')- expect(notice).toContain('1.37.0-motrix.17')+ expect(notice).toContain('1.37.0-motrix.18')expect(notice).toContain(- 'https://github.com/motrixapp/aria2/tree/v1.37.0-motrix.17'+ 'https://github.com/motrixapp/aria2/tree/v1.37.0-motrix.18')expect(notice).toContain('GPL-2.0-or-later')expect(notice).toContain('THIRD_PARTY_LICENSES/aria2-COPYING')diff --git a/tests/generate-third-party-notices.test.ts b/tests/generate-third-party-notices.test.tsindex b2316485..368c0c09 100644--- a/tests/generate-third-party-notices.test.ts+++ b/tests/generate-third-party-notices.test.ts@@ -171,7 +171,7 @@ describe('third-party notice generator', () => {expect(bundle.packageCount).toBeGreaterThan(100)expect(inventory).toContain('| @xyflow/react | 12.12.0 |')- expect(inventory).toContain('| aria2 | 1.37.0-motrix.17 |')+ expect(inventory).toContain('| aria2 | 1.37.0-motrix.18 |')expect(inventory).toContain('| motrix.filename-template | 1.1.1 |')expect(inventory).toContain('Apple San Francisco tray font')expect(licenses).toContain('GNU GENERAL PUBLIC LICENSE')@@ -282,7 +282,7 @@ describe('third-party notice generator', () => {expect(licenses).toContain('GNU GENERAL PUBLIC LICENSE')}const serverInventory = server.files['THIRD_PARTY_DEPENDENCIES.md']- expect(serverInventory).toContain('| aria2 | 1.37.0-motrix.17 |')+ expect(serverInventory).toContain('| aria2 | 1.37.0-motrix.18 |')expect(serverInventory).toContain('| motrix.filename-template | 1.1.1 |')expect(serverInventory).not.toContain('| Electron |')