NicolasWebDev / reinstall-magisk-on-lineageos

Small bash script to reinstall magisk after each LineageOS update
75 stars 16 forks source link

Allow for downloading the microg version of LineageOS #8

Open mattdale77 opened 2 years ago

mattdale77 commented 2 years ago

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 }

NicolasWebDev commented 2 years ago

See #10 .

ubmarco commented 1 year ago

I created a fork to use microG. Seems like I created a duplicated issue, sorry for that.