Nagram/bin/init/action/shadowsocks.sh
2021-02-25 18:31:29 +08:00

9 lines
411 B
Bash
Executable File

#!/usr/bin/env bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
echo "source \$HOME/.cargo/env" >>$HOME/.bashrc && source $HOME/.cargo/env
git submodule update --init ss-rust/src/main/rust/shadowsocks-rust
cd ss-rust/src/main/rust/shadowsocks-rust
rustup target install armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android