helix-editor / helix

A post-modern modal text editor.
https://helix-editor.com
Mozilla Public License 2.0
31.15k stars 2.3k forks source link

Use `xdg-utils` to install `*.desktop` shortcut #11066

Open Rudxain opened 2 days ago

Rudxain commented 2 days ago

This seems more cross-platform, despite depending on a package that isn't coreutils.

[!note] It seems --size can't be omitted

Rudxain commented 3 hours ago

On GNOME xdg-desktop-icon install seems to simply cp the shortcut to ~/Desktop instead of ~/.local/share/applications.

I'll revert that cmd only, as xdg-icon-resource install seems to work as intended