Install desktop item for the Android Settings app
This commit is contained in:
parent
bdc2a24f88
commit
238a26aee3
4 changed files with 20 additions and 7 deletions
|
|
@ -1,7 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Anbox
|
||||
Exec=anbox run --rootfs=android-rootfs
|
||||
Icon=anbox
|
||||
Terminal=false
|
||||
Type=Application
|
||||
X-Ubuntu-Touch=true
|
||||
7
data/desktop/settings.desktop
Normal file
7
data/desktop/settings.desktop
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Exec=anbox.app-settings
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Name=Android Settings
|
||||
GenericName=Android Settings
|
||||
6
scripts/app-settings.sh
Executable file
6
scripts/app-settings.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
PACKAGE=com.android.settings
|
||||
|
||||
exec $SNAP/bin/anbox-wrapper.sh launch \
|
||||
--package="$PACKAGE"
|
||||
|
|
@ -37,6 +37,10 @@ apps:
|
|||
collect-bug-info:
|
||||
command: bin/collect-bug-info.sh
|
||||
|
||||
app-settings:
|
||||
command: desktop-launch $SNAP/bin/app-settings.sh
|
||||
desktop: desktop/settings.desktop
|
||||
|
||||
parts:
|
||||
android:
|
||||
plugin: dump
|
||||
|
|
@ -136,17 +140,20 @@ parts:
|
|||
container-manager.sh: bin/container-manager.sh
|
||||
anbox-bridge.sh: bin/anbox-bridge.sh
|
||||
collect-bug-info.sh: bin/collect-bug-info.sh
|
||||
app-settings.sh: bin/app-settings.sh
|
||||
prime:
|
||||
- bin/anbox-bridge.sh
|
||||
- bin/anbox-wrapper.sh
|
||||
- bin/container-manager.sh
|
||||
- bin/collect-bug-info.sh
|
||||
- bin/app-*.sh
|
||||
|
||||
anbox-data:
|
||||
plugin: dump
|
||||
source: data
|
||||
prime:
|
||||
- glvnd
|
||||
- desktop
|
||||
|
||||
anbox:
|
||||
plugin: cmake
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue