From 131ead44653298e9e961554b63ea66cd9f0f6cb4 Mon Sep 17 00:00:00 2001 From: Erfan Abdi Date: Sun, 27 Jun 2021 03:10:09 +0430 Subject: [PATCH] anbox: Switch to full screen mode --- scripts/install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 82ff4a2..526a038 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -83,15 +83,15 @@ if [ -f anbox.prop ]; then fi if grep -q "anbox.display_height" anbox.prop.bak; then grep "anbox.display_height" anbox.prop.bak >> anbox.prop -else - echo "NOTE: Edit /home/anbox/anbox.prop based on your device screen resolution" - echo "anbox.display_height=1920" >> anbox.prop fi if grep -q "anbox.display_width" anbox.prop.bak; then grep "anbox.display_width" anbox.prop.bak >> anbox.prop -else - echo "NOTE: Edit /home/anbox/anbox.prop based on your device screen resolution" - echo "anbox.display_width=1080" >> anbox.prop +fi +if grep -q "anbox.display_height_padding" anbox.prop.bak; then + grep "anbox.display_height_padding" anbox.prop.bak >> anbox.prop +fi +if grep -q "anbox.display_width_padding" anbox.prop.bak; then + grep "anbox.display_width_padding" anbox.prop.bak >> anbox.prop fi echo "${GRALLOC_PROP}" >> anbox.prop echo "${EGL_PROP}" >> anbox.prop -- 2.47.3