This scrips takes the argument of a KeePassXC AppImage file and installs it in a user-friendly manner.
Specifically, the script:
- Checks file existance
- Moves it to a local assets/ folder
- Updates it's executable permissions
- creates a symlink for the executable at /usr/local/bin/keepass
- checks for the existance of a .desktop file in the assets folder
- creats a symlink for the .desktop file at /usr/local/share/applications/keepass.desktop
Usage
sudo ./installer