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]
|
[Desktop Entry]
|
||||||
Name=Anbox
|
Name=Anbox Application Manager
|
||||||
GenericName=Android in a box
|
GenericName=Anbox Application Manager
|
||||||
Version=1.0
|
Version=1.0
|
||||||
Type=Application
|
Type=Application
|
||||||
Icon=${SNAP}/meta/gui/icon.png
|
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
|
command: desktop-launch $SNAP/bin/app-settings.sh
|
||||||
desktop: desktop/settings.desktop
|
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:
|
parts:
|
||||||
android:
|
android:
|
||||||
plugin: dump
|
plugin: dump
|
||||||
|
|
@ -154,6 +171,7 @@ parts:
|
||||||
anbox-bridge.sh: bin/anbox-bridge.sh
|
anbox-bridge.sh: bin/anbox-bridge.sh
|
||||||
collect-bug-info.sh: bin/collect-bug-info.sh
|
collect-bug-info.sh: bin/collect-bug-info.sh
|
||||||
app-settings.sh: bin/app-settings.sh
|
app-settings.sh: bin/app-settings.sh
|
||||||
|
app-appmgr.sh: bin/app-appmgr.sh
|
||||||
prime:
|
prime:
|
||||||
- bin/anbox-bridge.sh
|
- bin/anbox-bridge.sh
|
||||||
- bin/anbox-wrapper.sh
|
- bin/anbox-wrapper.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue