reinstall-magisk-on-lineageos
reinstall-magisk-on-lineageos copied to clipboard
Allow for downloading the microg version of LineageOS
I modified the script to use the microg build. It broke it for the regular build but I'll show the updates here so they can be incorporated in a sensible fashion.
BUILD_SOURCE=https://download.lineage.microg.org
get_url_of_latest_build() {
LATEST_BUILD=curl --no-progress-meter "$BUILD_SOURCE/$PHONE_ANDROID_NAME/" | grep --perl-regexp --only-matching "lineage.*.zip" | tail -1
echo $BUILD_SOURCE/$PHONE_ANDROID_NAME/$LATEST_BUILD
}
See #10 .
I created a fork to use microG. Seems like I created a duplicated issue, sorry for that.