A Cli tool to quickly add your AppImage to the Applications menu of your desktop environment
By generating a .desktop file as a Applications menu entry.
Simple, yet has many customizable options for the sake of convenience.
Cargo is required to run this app. After you installed cargo, run:
cargo install appim
```rust
appim add --help
Usage: appim add [OPTIONS]
Arguments:
Options:
-d, --dest-dir
Examples: //create myfile.desktop in ~/.local/share/applications by default appim add myfile.AppImage
//Usually, after downloaded, the AppImage is in downloads folder,
//hence you may want to use the -m flag to move the AppImage to your personal apps folder, before create .desktop entry
appim add myfile.AppImage -m "~/apps"
//myfile.AppImage is moved in ~/apps, myfile.desktop also got created with correct exec_path
// create myfile.desktop in your/path/here
appim add myfile.AppImage -d "your/path/here"
```
Steps:
rust
git clone https: //github.com/khuongduy354/appim.git
cd appim
cargo run //to build and run
cargo build //to build only
cargo test //to test
Additional things:
- justfile (Makefile alternatives) to help automate stuffs (you need just to run it)
- personal.md docs my learning stuffs