1 unstable release
0.1.0 | Oct 5, 2024 |
---|
#780 in Command line utilities
21 downloads per month
135KB
172 lines
AppImage Updater
A CLI tool to look for AppImages in your $PATH and call appimageupdatetool to update them
Install
Build, and install to $HOME/.cargo/bin
in one command via cargo
:
cargo install --locked --git https://github.com/pirafrank/appimage_updater
Or download binary from the latest release.
Update
Download the new binary version and overwrite old one.
Or, if installed via cargo
, re-run the cargo install
command.
Build
git clone https://github.com/pirafrank/appimage_updater.git
cd appimage_updater
cargo build
Build a release
Build a release for your current platform triple.
Currenly supported triples are listed in rust-toolchain.toml
file.
just release
# add to path, e.g.:
# cp ./target/release/appimage_updater ~/.local/bin/
Run
# 4 threads by default
appimage_updater
# 2 threads
appimage_updater -j 2
Cross-compilation
Option 1 (via cross
)
cargo install cross
just release_all
Option 2 (via cargo
)
- Add target to rustup:
rustup target add aarch64-unknown-linux-gnu
- then cross-compile via
cargo
:
sudo apt-get install gcc-aarch64-linux-gnu
cargo build --release --target aarch64-unknown-linux-gnu
Dependencies
~2–13MB
~101K SLoC