Skip to content

Commit

Permalink
[snap] Add aliases for all the non-daemon apps
Browse files Browse the repository at this point in the history
This way we can call the applications without having to use the snap name before it's name.
Eg: now: `shadowsocks-rust.sslocal` after applying `sslocal`
  • Loading branch information
jadolg authored and zonyitoo committed May 19, 2024
1 parent f3c9ecd commit 3064cec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ apps:
sslocal:
command: bin/sslocal
plugs: [network, network-bind, network-control, home]
aliases: [sslocal]

sslocal-daemon:
command: bin/sslocal
Expand All @@ -30,6 +31,7 @@ apps:
ssserver:
command: bin/ssserver
plugs: [network, network-bind, home]
aliases: [ssserver]

ssserver-daemon:
command: bin/ssserver
Expand All @@ -39,10 +41,12 @@ apps:

ssurl:
command: bin/ssurl
aliases: [ssurl]

ssmanager:
command: bin/ssmanager
plugs: [network, home]
aliases: [ssmanager]

passthrough:
layout:
Expand Down

0 comments on commit 3064cec

Please sign in to comment.