Skip to content

pirafrank/appimage_updater

Repository files navigation

AppImage Updater

GitHub Release Crates.io Crates.io MSRV License: MIT

CI Release

A CLI tool to look for AppImages in your $PATH and call appimageupdatetool to update them.

GIF Image with demo of the tool

Install

Binary

Download the binary from latest release and move to PATH.

cargo

cargo install appimage_updater

binstall

If you have binstall, you can get the binary and skip compilation.

cargo binstall appimage_updater

From source

Build and install to $HOME/.cargo/bin compiling from source:

cargo install --locked --git https://github.com/pirafrank/appimage_updater

Update

Download the new binary version and overwrite old one.

If you have installed via cargo, then 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)

  1. Add target to rustup:
rustup target add aarch64-unknown-linux-gnu
  1. then cross-compile via cargo:
sudo apt-get install gcc-aarch64-linux-gnu
cargo build --release --target aarch64-unknown-linux-gnu

About

A CLI tool to look for AppImages in your $PATH and call appimageupdatetool to bulk update them

Topics

Resources

License

Stars

Watchers

Forks