This a cargo program that allows you to convert your Rust programs into AppImages.
- Make sure that
appimagetool
is in your path. It can be downloaded from here - Install this program with
cargo install cargo-appimage
-
cd
inside of the root directory of your crate and create an icon called icon.png- Note this can simply be an empty file for development. In fact an empty file is generated if you forget to make one.
-
(optional) create a section in your Cargo.toml similar to the following with any additional assets to add to the AppImg:
[package.metadata.appimage] assets = ["images", "sounds"]
-
run this command
cargo appimage