From 59ec04b2c373d6c017f1c64fa0e84ba793ca5250 Mon Sep 17 00:00:00 2001 From: Howard Wu <40033067+Howard20181@users.noreply.github.com> Date: Sat, 3 Sep 2022 11:56:58 +0800 Subject: [PATCH 1/4] Add tutorial for installing custom OpenGApps --- Custom-OpenGApps.md | 7 +++++++ README.md | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 Custom-OpenGApps.md diff --git a/Custom-OpenGApps.md b/Custom-OpenGApps.md new file mode 100644 index 0000000000..0909484a96 --- /dev/null +++ b/Custom-OpenGApps.md @@ -0,0 +1,7 @@ +# How to install custom OpenGApps + +1. Build WSA without gapps to let the script download needed files + `./build --gapps-brand none` +1. Place custom OpenGApps to `download` folder and rename to `OpenGApps-{arch}-{variant}.zip` (e.g. `OpenGApps-x64-pico.zip`) +1. Build WSA offline + `./build --offline --gapps-variant {variant}` diff --git a/README.md b/README.md index 79771ad590..82130076a0 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,9 @@ - How can I get rid of Magisk? Choose `none` as the root solution. +- How to install custom OpenGApps? + + [Tutorial](./Custom-OpenGApps.md) ## Credits From e0338679f88494769a2f6ddafc9db44ecf41ef59 Mon Sep 17 00:00:00 2001 From: Howard Wu <40033067+Howard20181@users.noreply.github.com> Date: Sat, 3 Sep 2022 11:58:31 +0800 Subject: [PATCH 2/4] Update Custom-OpenGApps.md --- Custom-OpenGApps.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Custom-OpenGApps.md b/Custom-OpenGApps.md index 0909484a96..e51bcbe6a5 100644 --- a/Custom-OpenGApps.md +++ b/Custom-OpenGApps.md @@ -1,7 +1,9 @@ # How to install custom OpenGApps 1. Build WSA without gapps to let the script download needed files + `./build --gapps-brand none` 1. Place custom OpenGApps to `download` folder and rename to `OpenGApps-{arch}-{variant}.zip` (e.g. `OpenGApps-x64-pico.zip`) 1. Build WSA offline + `./build --offline --gapps-variant {variant}` From 8c237f1e42e55dbf12adb5ab921e0f2017e4f036 Mon Sep 17 00:00:00 2001 From: Howard Wu <40033067+Howard20181@users.noreply.github.com> Date: Sat, 3 Sep 2022 12:00:59 +0800 Subject: [PATCH 3/4] Update Custom-OpenGApps.md --- Custom-OpenGApps.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Custom-OpenGApps.md b/Custom-OpenGApps.md index e51bcbe6a5..8a42afe303 100644 --- a/Custom-OpenGApps.md +++ b/Custom-OpenGApps.md @@ -2,8 +2,8 @@ 1. Build WSA without gapps to let the script download needed files - `./build --gapps-brand none` + `./build.sh --gapps-brand none` 1. Place custom OpenGApps to `download` folder and rename to `OpenGApps-{arch}-{variant}.zip` (e.g. `OpenGApps-x64-pico.zip`) 1. Build WSA offline - `./build --offline --gapps-variant {variant}` + `./build.sh --offline --gapps-variant {variant}` From f09e4f4f9bb8e18f11285e5e3c585166739d5d69 Mon Sep 17 00:00:00 2001 From: Howard Wu <40033067+Howard20181@users.noreply.github.com> Date: Sat, 3 Sep 2022 12:24:28 +0800 Subject: [PATCH 4/4] Minor Changes --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index ac628bfa65..848913f08e 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -93,7 +93,7 @@ default(){ exit_with_message(){ echo "ERROR: $1" usage - abort + exit 1 } usage(){