#app-image #path #update #bulk #updater #look #call

app appimage_updater

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

1 unstable release

0.1.0 Oct 5, 2024

#415 in Command line utilities

37 downloads per month

MIT license

135KB
172 lines

AppImage Updater

CI

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

GIF Image with demo of the tool

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)

  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

Dependencies

~2–13MB
~101K SLoC