This script integrates an AppImage file to the system by extracting icon and creating a .desktop file based on the included .desktop if found. Otherwise a generic .desktop is made.
Written for bash
To use, run
chmod +x appimage_integrator
appimage_integrator [your .AppImage file]