Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow krop command to launch Krop #14

Merged
merged 1 commit into from
Jul 14, 2018

Conversation

brlin-tw
Copy link
Contributor

@brlin-tw brlin-tw commented Jul 1, 2018

Snapd actually allows directly running the application by using _snap_name_ command when the app_name is identical with the
snap_name. This patch makes the necessary changes to support this feature.

Refer-to: The snapcraft syntax - Snaps are universal Linux packages
https://docs.snapcraft.io/build-snaps/syntax#app-name

If the app name matches the snap name, the app will be executed when the
name of the snap is called. Otherwise, the executable will have the snap
name and a dot prefixed to the app name.

Signed-off-by: 林博仁(Buo-ren Lin) Buo.Ren.Lin@gmail.com

Snapd actually allows directly running the application by using `_snap_name_` command when the _app_name_ is identical with the
_snap_name_.  This patch makes the necessary changes to support this feature.

Refer-to: The snapcraft syntax - Snaps are universal Linux packages
<https://docs.snapcraft.io/build-snaps/syntax#app-name>

```
If the app name matches the snap name, the app will be executed when the
name of the snap is called. Otherwise, the executable will have the snap
name and a dot prefixed to the app name.
```

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
@gocarlos gocarlos merged commit 19f3361 into gocarlos:master Jul 14, 2018
@brlin-tw brlin-tw deleted the patch-fix-snap-run-krop branch July 16, 2018 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants