From ec979de9b62a95ff529cd60e18884bca99d7ab66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sommer?= Date: Sun, 4 Jun 2023 10:08:08 +0200 Subject: [PATCH 1/2] README: Add requirements.txt and fix spelling --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c65f064..2d6c7f5 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Script to add gapps and other stuff to waydroid ! ``` git clone https://github.com/casualsnek/waydroid_script cd waydroid_script -sudo python3 -m pip install -r +sudo python3 -m pip install -r requirements.txt sudo python main.py ``` @@ -171,7 +171,7 @@ sudo python3 main.py hack hidestatusbar ## Get Android ID for device registration -You need to register you device with its it before being able to use gapps, this will print out your Android ID which you can use for device registration required for google apps: +You need to register your device with its ID before being able to use gapps, this will print out your Android ID which you can use for device registration required for google apps: Open terminal and switch to directory where "main.py" is located then run: sudo python3 main.py google -- 2.54.0 From 5f3fb8c48dd15a20efb2fc2d8535e8204457a1ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sommer?= Date: Sun, 4 Jun 2023 11:05:12 +0200 Subject: [PATCH 2/2] README: Add description for using virtual environment At least, Debian is a bit picky on running *pip* as root and it doesn't provide a package for InquirerPy. So, the best way is to use a virtual environment for Python. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 2d6c7f5..aa0077c 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,16 @@ sudo python3 -m pip install -r requirements.txt sudo python main.py ``` +or use a Python virtual environment: + +``` +git clone https://github.com/casualsnek/waydroid_script +cd waydroid_script +python3 -m venv --upgrade-deps .venv +.venv/bin/pip install -r requirements.txt +sudo .venv/bin/python main.py +``` + ![image-20230430013103883](assets/img/README/image-20230430013103883.png) ![image-20230430013119763](assets/img/README/image-20230430013119763.png) -- 2.54.0