New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AppImageLauncher silent integration (without showing dialog) #281
Comments
@skipperTux have you seen |
@TheAssassin thank you for making me aware of
Available commands:
integrate Integrate AppImages passed as commandline arguments
unintegrate Unintegrate AppImages passed as commandline arguments It seems a remove command is already supported, however I am not sure what argument to pass as AppImage. During integration, a new filename with a unique Id is generated. Passing this filename is not ideal for scripting, as it is unknown when writing the script (although workarounds exist).
Fails $ ail-cli integrate ~/Downloads/Station-1.63.4-x86_64.AppImage
ail-cli: /lib64/libcurl.so.4: no version information available (required by /usr/bin/../lib/x86_64-linux-gnu/appimagelauncher/libappimageupdate.so)
Processing /home/user/Downloads/Station-1.63.4-x86_64.AppImage
Moving AppImage to integration directory
ERROR: appimage_register_in_system : Unknown AppImage format: /home/user/Downloads/Station-1.63.4-x86_64.AppImage
Error: Failed to register AppImage in system via libappimage Works $ AppImageLauncher ~/Downloads/Station-1.63.4-x86_64.AppImage
AppImageLauncher: /lib64/libcurl.so.4: no version information available (required by /usr/bin/../lib/x86_64-linux-gnu/appimagelauncher/libappimageupdate.so)
[...]
WARNING: Unable to resize the application icon into a 128x128 image: "Unable to load image.". It will be written unchanged.
WARNING: Unable to resize the application icon into a 256x256 image: "Unable to load image.". It will be written unchanged.
gtk-update-icon-cache: Cache file created successfully.
[...]
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
[...]
# AppImage is started successfully |
Please provide links to your AppImages, otherwise I cannot inspect the issue... |
Links are already in my response, see
|
Those links don't link to the AppImages. They link to some release pages. I don't want to guess which ones you tested. Edit: okay, fair enough, for draw.io the link is precise enough. |
Sorry, my bad. I tested the latest releases of those AppImages |
I see. There's two issues. First is that the integration directory isn't created automatically. Second the path used for the integration is the one before moving the file. The error message is entirely misleading. libappimage should report that the file is missing, not that the AppImage format is unknown... |
Works like charm. Thank you for the quick fix and for your great work on AppImageLauncher! With your consent I will close this issue. |
I've the same issue |
Is it possible to run AppImageLauncher to silently integrate an AppImage (move to
~/Applications
and create Desktop Launcher) without showing a dialog? Something likeand also remove an AppImage from the system
The use-case is to install/remove AppImages using scripts or automation tools like Ansible without user interaction, just like apt/yum/dnf package managers. The story is a rollout scenario for Desktop Computers.
I have seen some related discussion in #80, #163 or #150 and I am also aware of the
appimagelauncherd
daemon. However I think the described use-case cannot be solved using the existing tooling. (Event though I cannot fully setup that daemon because the settings dialog crashes on my Fedora system; upstream bug, see #218.)Edit: To be more precise, the AppImage shall also not be launched when silently integrating.
The text was updated successfully, but these errors were encountered: