#desktop entry from `cargo install`

20 messages · Page 1 of 1 (latest)

native rampart
#

is there a way to make my crate make a desktop entry (.desktop on linux only) on install?

lyric plover
#

Not via cargo

#

It has no post install script like feature

native rampart
#

no install hooks or anything?

#

damn

#

seems like it would be a nice thing

lyric plover
#

It's not meant to be used to distribute arbitrary applications

native rampart
#

then why install

#

add makes sense, it's getting a crate for you

#

but tons of projects let you just grab it from crates.io directly if thats your best options

lyric plover
#

For development tools

native rampart
#

is a code editor a dev tool 🤔

lyric plover
#

Specifically for cli tools

native rampart
lyric plover
#

Yes

#

Considering you probably don't want your users to compile it every download

native rampart
#

cargo binstall does that kind of doesn't it

lyric plover
#

If there are artifacts to pull from

#

They don't just magically appear

native rampart
#

github packages or?