helloSystem / helloSystem/launch

Read desktop files inside AppImages

Open
#27 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
17
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Remaining part from https://github.com/helloSystem/launch/issues/26#issuecomment-1660001926:

```
% chmod +x ~/Downloads/Telegram_Desktop-x86_64.AppImage
% ~/Downloads/Telegram_Desktop-x86_64.AppImage --appimage-extract
% cat squashfs-root/telegram.desktop
(...)
MimeType=x-scheme-handler/tg;
(...)
```

So, when encountering an AppImage, then "the system" (I still need to decide which component) needs to place the link to `~/.local/share/launch/MIME/.../` based on the information in `MimeType=` in the `.desktop` file inside the AppImage. (This already happens for `.desktop` files which are not inside AppImages.)

Possibly we can use the new libsqsh library by @Gottox for this. It looks promising and is under a permissive license.

* https://github.com/Gottox/libsqsh/issues/34

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.