snap: add additional desktop entry for the appmgr
This commit is contained in:
parent
eca89fe9af
commit
be346eb9ec
3 changed files with 28 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Name=Anbox
|
||||
GenericName=Android in a box
|
||||
Name=Anbox Application Manager
|
||||
GenericName=Anbox Application Manager
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Icon=${SNAP}/meta/gui/icon.png
|
||||
8
scripts/app-appmgr.sh
Executable file
8
scripts/app-appmgr.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
PACKAGE=org.anbox.appmgr
|
||||
COMPONENT=org.anbox.appmgr.AppViewActivity
|
||||
|
||||
exec $SNAP/bin/anbox-wrapper.sh launch \
|
||||
--package="$PACKAGE" \
|
||||
--component="$COMPONENT"
|
||||
|
|
@ -41,6 +41,23 @@ apps:
|
|||
command: desktop-launch $SNAP/bin/app-settings.sh
|
||||
desktop: desktop/settings.desktop
|
||||
|
||||
appmgr:
|
||||
command: desktop-launch $SNAP/bin/app-appmgr.sh
|
||||
desktop: desktop/appmgr.desktop
|
||||
slots:
|
||||
- dbus-session-slot
|
||||
plugs:
|
||||
- dbus-session-plug
|
||||
- x11
|
||||
- unity7
|
||||
- network
|
||||
- opengl
|
||||
- wayland
|
||||
- pulseaudio
|
||||
- home
|
||||
- process-control
|
||||
- desktop
|
||||
|
||||
parts:
|
||||
android:
|
||||
plugin: dump
|
||||
|
|
@ -154,6 +171,7 @@ parts:
|
|||
anbox-bridge.sh: bin/anbox-bridge.sh
|
||||
collect-bug-info.sh: bin/collect-bug-info.sh
|
||||
app-settings.sh: bin/app-settings.sh
|
||||
app-appmgr.sh: bin/app-appmgr.sh
|
||||
prime:
|
||||
- bin/anbox-bridge.sh
|
||||
- bin/anbox-wrapper.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue