Hello! I’m adding a script to my snap. I did it like this:
name: <snapname>
[...]
parts:
[...]
<partname>:
plugin: dump
source-type: local
source: ..
organize:
'<scriptname>': usr/bin/<scriptname>
apps:
[...]
<partname>:
command: usr/bin/<scriptname>
this seems to work, but the script then is named "<snapname>.<partname>"
, and it works properly. Is this normal? Isn’t it possible to just name the command "<scriptname>"
? I would like the user to be able to run the script with a shorter name <scriptname>
, instead of a longer "<snapname>.<partname>"
.
Thanks!