Package Usage: go: github.com/mrf345/desktop-entry
Generate and update .desktop (desktop entry) files for Go binaries automatically.
Add it to your project
With the default settings shown in desktopEntry.DesktopEntry the method desktopEntry.DesktopEntry.Create
will check your desktopEntry.DesktopEntry.AppsPath for a .desktop file, that matches your
desktopEntry.DesktopEntry.Name, if it can't find it, it'll create a new one.
That will later on be updated it only when the binary path changes.
See test example.
6 versions
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/mrf345/desktop-entry