diff --git a/bauh/gems/appimage/model.py b/bauh/gems/appimage/model.py index c8e28bd7..9d523745 100644 --- a/bauh/gems/appimage/model.py +++ b/bauh/gems/appimage/model.py @@ -133,6 +133,9 @@ class AppImage(SoftwarePackage): de = StringIO() de.write("[Desktop Entry]\nType=Application\nName={}\n".format(self.name)) + if self.description: + de.write("Comment={}\n".format(self.description.replace('\n', ' '))) + if self.install_dir and self.local_file_path: de.write('Exec="{}/{}"\n'.format(self.install_dir, self.local_file_path.split('/')[-1]))