Update 'README.md'

This commit is contained in:
matt1432 2023-03-08 21:13:09 -05:00
parent 29cfedb76e
commit 79671e1d12

View file

@ -1,6 +1,6 @@
# Bromite System Webview
# Mulch System Webview
This is a repositery hosting the make files and apk to successfully implement Bromite's System Webview in an ARM64/ARMv8 android device ROM. It uses an overlay, adds the app to the system and removes AOSP's webview to do so.
This is a repositery hosting the make files and apk to successfully implement DivestOS's Mulch System Webview in an ARM64/ARMv8 android device ROM. It uses an overlay, adds the app to the system and removes AOSP's webview to do so.
I recommend using [lineageos4microg/docker-lineage-cicd](https://github.com/lineageos4microg/docker-lineage-cicd) to build it.
@ -9,30 +9,32 @@ To do this, add a repo manifest file to include this repository like so :
```xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="matt1432/android_vendor_bromitewebview" path="vendor/bromite" remote="github" revision="master" />
<remote name="gitea" fetch="https://git.nelim.org/" />
<project name="matt1432/android_vendor_mulchwebview" path="vendor/mulch" remote="gitea" revision="main" />
</manifest>
```
### With [lineageos4microg/docker-lineage-cicd](https://github.com/lineageos4microg/docker-lineage-cicd)
### \#1
Simply add `BromiteWebview BromiteWebviewOverlay` in the `CUSTOM_PACKAGES` environment variable in your docker-compose.yml file.
Simply add `MulchWebview MulchWebviewOverlay` in the `CUSTOM_PACKAGES` environment variable in your docker-compose.yml file.
### \#2
If you don't want to make your `CUSTOM_PACKAGES` variable too long, you can make a `before.sh` script in the `/srv/userscripts` [folder](https://github.com/lineageos4microg/docker-lineage-cicd#volumes) and add this line in it :
```yml
sed -i "1s;^;\$(call inherit-product-if-exists, vendor/bromite/bromite.mk)\n\n;" "/srv/src/LINEAGE_19_1/vendor/lineage/config/common.mk"
sed -i "1s;^;\$(call inherit-product-if-exists, vendor/mulch/mulch.mk)\n\n;" "/srv/src/LINEAGE_19_1/vendor/lineage/config/common.mk"
```
### Without [lineageos4microg/docker-lineage-cicd](https://github.com/lineageos4microg/docker-lineage-cicd)
You need to edit the "vendor/lineage/config/common.mk" file by adding :
```yml
$(call inherit-product-if-exists, vendor/bromite/bromite.mk)
$(call inherit-product-if-exists, vendor/mulch/mulch.mk)
```
# Credits
* [Bromite](https://github.com/bromite/bromite) themselves
* [Mulch](https://gitlab.com/divested-mobile/mulch)
* [Bromite](https://github.com/bromite/bromite) for older builds
* [Magisk-Module/open_webview](https://github.com/Magisk-Modules-Alt-Repo/open_webview) for overlay's AndroidManifest.xml
* [arovlad/bromite-webview-overlay](https://github.com/arovlad/bromite-webview-overlay) for inspiration and examples I used