@leisureyu/dsh-aria2-linux-x64 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -0
- package/bin/aria2c +0 -0
- package/package.json +29 -0
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# @leisureyu/dsh-aria2-linux-x64
|
|
2
|
+
|
|
3
|
+
为 **Linux x64** 平台预打包的 [aria2](https://aria2.github.io/) `aria2c` 二进制文件,作为 `dsh-smart-dl` 插件的随包依赖分发,使用户无需自行安装 aria2。
|
|
4
|
+
|
|
5
|
+
- 版本:aria2 **1.37.0**
|
|
6
|
+
- 平台:`linux` / `x64`
|
|
7
|
+
- 二进制路径:`bin/aria2c`
|
|
8
|
+
|
|
9
|
+
## 二进制来源
|
|
10
|
+
|
|
11
|
+
aria2 官方发布页**不提供** Linux 二进制,本子包使用第三方静态构建(musl 静态链接,无 glibc / 动态库依赖,可跨发行版直接运行):
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
https://github.com/abcfy2/aria2-static-build/releases/download/1.37.0/aria2-x86_64-linux-musl_static.zip
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
- 压缩包 SHA256:`80E577DC58348B96DA46DD12D326BC99794B5021BE395A3E890F2D67C8790C22`
|
|
18
|
+
- 二进制:`aria2c`,ELF **x86-64**,静态链接。
|
|
19
|
+
|
|
20
|
+
由 CI(`.github/workflows/publish.yml`)在 **Linux** runner 上下载、`chmod 755` 后复制到 `bin/aria2c`,**不提交到 Git 仓库**。
|
|
21
|
+
|
|
22
|
+
> 为什么必须在 Linux 上打包:npm 打包时会记录文件的执行位,在 Windows 上打包会把 `aria2c` 记为 `0644`(不可执行),安装后无法直接调用。
|
|
23
|
+
|
|
24
|
+
## 许可证
|
|
25
|
+
|
|
26
|
+
aria2 基于 **GPL-2.0-or-later** 许可,本子包同样声明为 `GPL-2.0-or-later`。详见 <https://github.com/aria2/aria2/blob/master/COPYING>。
|
package/bin/aria2c
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@leisureyu/dsh-aria2-linux-x64",
|
|
3
|
+
"version": "1.37.0",
|
|
4
|
+
"description": "Bundled static aria2c binary for Linux x64",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/LeiSureYu/dsh-smart-download.git",
|
|
8
|
+
"directory": "packages/aria2-linux-x64"
|
|
9
|
+
},
|
|
10
|
+
"type": "commonjs",
|
|
11
|
+
"os": [
|
|
12
|
+
"linux"
|
|
13
|
+
],
|
|
14
|
+
"cpu": [
|
|
15
|
+
"x64"
|
|
16
|
+
],
|
|
17
|
+
"files": [
|
|
18
|
+
"bin/aria2c",
|
|
19
|
+
"README.md"
|
|
20
|
+
],
|
|
21
|
+
"keywords": [
|
|
22
|
+
"aria2",
|
|
23
|
+
"aria2c",
|
|
24
|
+
"linux",
|
|
25
|
+
"x64",
|
|
26
|
+
"binary"
|
|
27
|
+
],
|
|
28
|
+
"license": "GPL-2.0-or-later"
|
|
29
|
+
}
|