Skip to content

ttimochan/catwrt-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

catwrt-update

CatWrt 的更新检测支持,即 /usr/bin/catwrt-update 的功能。

介绍

Catwrt-Update is a tool to check the update of CatWrt, coding with rust.

编译

安装 Rust 环境

curl --proto '=https' --tlsv1.2  https://sh.rustup.rs  -sSf | sh

然后设置 target 为你想要的平台,例如:

rustup target add mipsel-unknown-linux-musl

然后编译:

cargo build --release --target mipsel-unknown-linux-musl

目前支持的平台有:

  • mipsel-unknown-linux-musl
  • mips-unknown-linux-musl
  • arm-unknown-linux-musl
  • aarch64-unknown-linux-musl
  • x86_64-unknown-linux-musl
  • i686-unknown-linux-musl
  • x86_64-unknown-linux-gnu
  • i686-unknown-linux-gnu

然后,你就在 target 目录下找到你的可执行文件了。

About

CatWrt 的更新检测支持

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages