mirror of
https://github.com/RubyMetric/chsrc
synced 2025-07-24 09:22:12 +08:00
Download for Android
This commit is contained in:
parent
fde3b37f01
commit
e186b33850
19
README.md
19
README.md
@ -161,6 +161,8 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x86-windo
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Linux</summary>
|
<summary>Linux</summary>
|
||||||
|
|
||||||
@ -235,8 +237,12 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-riscv64-l
|
|||||||
curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-armv7-linux -o chsrc; chmod +x ./chsrc
|
curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-armv7-linux -o chsrc; chmod +x ./chsrc
|
||||||
```
|
```
|
||||||
|
|
||||||
|
如果你所在的处理器架构没有预编译版本,可以使用 [chsrc-bootstrap]
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>macOS</summary>
|
<summary>macOS</summary>
|
||||||
|
|
||||||
@ -285,6 +291,8 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-macos
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>BSD</summary>
|
<summary>BSD</summary>
|
||||||
|
|
||||||
@ -297,12 +305,14 @@ clang -Iinclude -Ilib src/chsrc-main.c -o chsrc
|
|||||||
|
|
||||||
**如果还不存在这些依赖,你将会被死锁住: 我还没有换源,我该如何安装这些依赖呢?**
|
**如果还不存在这些依赖,你将会被死锁住: 我还没有换源,我该如何安装这些依赖呢?**
|
||||||
|
|
||||||
这就是 [chsrc-bootstrap](./bootstrap/) 起作用的时刻,你可使用BSD系统的原生脚本语言编写 `bootstrapper`,[并向我们提交](https://github.com/RubyMetric/chsrc/issues/230)
|
这就是 [chsrc-bootstrap] 起作用的时刻,你可使用BSD系统的原生脚本语言编写 `bootstrapper`,[并向我们提交](https://github.com/RubyMetric/chsrc/issues/230)
|
||||||
|
|
||||||
注: `chsrc` 实现的 `FreeBSD recipe` 长期存在问题,因此一个新的 `bootstrapper` 是相当必要的,请帮助你自己和大家!
|
注: `chsrc` 实现的 `FreeBSD recipe` 长期存在问题,因此一个新的 `bootstrapper` 是相当必要的,请帮助你自己和大家!
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Android/Termux</summary>
|
<summary>Android/Termux</summary>
|
||||||
|
|
||||||
@ -310,7 +320,7 @@ Termux 中默认无 `Wget`,我们都用 `cURL` 来下载安装
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# arm64/aarch64
|
# arm64/aarch64
|
||||||
curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-arm64-linux -o chsrc; chmod +x ./chsrc
|
curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-arm64-android -o chsrc; chmod +x ./chsrc
|
||||||
```
|
```
|
||||||
|
|
||||||
如果你所在的处理器架构没有预编译版本,可以使用 [chsrc-bootstrap]:
|
如果你所在的处理器架构没有预编译版本,可以使用 [chsrc-bootstrap]:
|
||||||
@ -321,6 +331,8 @@ curl -L https://gitee.com/RubyMetric/chsrc/raw/main/bootstrap/Termux.bash | bash
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>其他平台</summary>
|
<summary>其他平台</summary>
|
||||||
|
|
||||||
@ -332,7 +344,7 @@ git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc; make
|
|||||||
|
|
||||||
**如果还不存在这些依赖,你将会被死锁住: 我还没有换源,我该如何安装这些依赖呢?**
|
**如果还不存在这些依赖,你将会被死锁住: 我还没有换源,我该如何安装这些依赖呢?**
|
||||||
|
|
||||||
这就是 [chsrc-bootstrap](./bootstrap/) 起作用的时刻,你可使用该平台原生脚本语言编写 `bootstrapper`,[并向我们提交](https://github.com/RubyMetric/chsrc/issues/230)
|
这就是 [chsrc-bootstrap] 起作用的时刻,你可使用该平台原生脚本语言编写 `bootstrapper`,[并向我们提交](https://github.com/RubyMetric/chsrc/issues/230)
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@ -542,6 +554,7 @@ chsrc set conda | anaconda
|
|||||||
<br>
|
<br>
|
||||||
|
|
||||||
[rawstr4c]: https://github.com/RubyMetric/rawstr4c
|
[rawstr4c]: https://github.com/RubyMetric/rawstr4c
|
||||||
|
[chsrc-bootstrap]: ./bootstrap/
|
||||||
|
|
||||||
[@Aaron-212]: https://github.com/Aaron-212
|
[@Aaron-212]: https://github.com/Aaron-212
|
||||||
[@chenrui333]: https://github.com/chenrui333
|
[@chenrui333]: https://github.com/chenrui333
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# File Name : download-pre-on-GitHub.ps1
|
# File Name : download-pre-on-GitHub.ps1
|
||||||
# File Authors : Aoran Zeng <ccmywish@qq.com>
|
# File Authors : Aoran Zeng <ccmywish@qq.com>
|
||||||
# Created On : <2023-09-21>
|
# Created On : <2023-09-21>
|
||||||
# Last Modified : <2025-07-15>
|
# Last Modified : <2025-07-22>
|
||||||
#
|
#
|
||||||
# Download all files from the `pre` release on GitHub:
|
# Download all files from the `pre` release on GitHub:
|
||||||
# https://github.com/RubyMetric/chsrc/releases/tag/pre
|
# https://github.com/RubyMetric/chsrc/releases/tag/pre
|
||||||
@ -20,13 +20,17 @@ $destination = (Resolve-Path $destination).Path
|
|||||||
$names = @(
|
$names = @(
|
||||||
'chsrc-x64-windows.exe'
|
'chsrc-x64-windows.exe'
|
||||||
'chsrc-x86-windows.exe'
|
'chsrc-x86-windows.exe'
|
||||||
|
|
||||||
'chsrc-aarch64-macos'
|
'chsrc-aarch64-macos'
|
||||||
'chsrc-x64-macos'
|
'chsrc-x64-macos'
|
||||||
|
|
||||||
'chsrc-x64-linux'
|
'chsrc-x64-linux'
|
||||||
'chsrc-aarch64-linux'
|
'chsrc-aarch64-linux'
|
||||||
'chsrc-riscv64-linux'
|
'chsrc-riscv64-linux'
|
||||||
'chsrc-armv7-linux'
|
'chsrc-armv7-linux'
|
||||||
'chsrc_latest-1_amd64.deb'
|
'chsrc_latest-1_amd64.deb'
|
||||||
|
|
||||||
|
'chsrc-arm64-android'
|
||||||
)
|
)
|
||||||
|
|
||||||
# Like https://github.com/RubyMetric/chsrc/releases/download/latest/chsrc-x64-windows.exe
|
# Like https://github.com/RubyMetric/chsrc/releases/download/latest/chsrc-x64-windows.exe
|
||||||
|
Loading…
x
Reference in New Issue
Block a user