From 5dd8ea57e69d3beba109bb1b39fecc456ae44baa Mon Sep 17 00:00:00 2001 From: mid-kid Date: Sat, 4 Mar 2023 23:30:53 +0100 Subject: [PATCH] Update microg --- .gitmodules | 3 +++ apk/android_vendor_partner_gms | 2 +- package.sh | 3 ++- package_bromite.sh | 1 - package_microg.sh | 3 +-- 5 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..26c18e2 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "apk/android_vendor_partner_gms"] + path = apk/android_vendor_partner_gms + url = https://github.com/lineageos4microg/android_vendor_partner_gms diff --git a/apk/android_vendor_partner_gms b/apk/android_vendor_partner_gms index b60c798..27c8ca1 160000 --- a/apk/android_vendor_partner_gms +++ b/apk/android_vendor_partner_gms @@ -1 +1 @@ -Subproject commit b60c7987799fe0e08254b2cf72d929631f6e5ee8 +Subproject commit 27c8ca1881471c99c9f14c2be3443b3996c08d86 diff --git a/package.sh b/package.sh index 0c5a06b..b1cffd8 100755 --- a/package.sh +++ b/package.sh @@ -10,4 +10,5 @@ fi mkdir -p "$dir/META-INF/com/google/android" cat module_installer.sh > "$dir/META-INF/com/google/android/update-binary" echo "#MAGISK" > "$dir/META-INF/com/google/android/updater-script" -( cd "$dir" ; zip -9r package.zip . ) +rm -f "$dir.zip" +( cd "$dir" ; zip -9r "../$dir.zip" . ) diff --git a/package_bromite.sh b/package_bromite.sh index 7d52649..c79826c 100755 --- a/package_bromite.sh +++ b/package_bromite.sh @@ -33,5 +33,4 @@ install -D "$dir/lib/arm64-v8a/libwebviewchromium.so" \ rm -rf "$dir/lib" ./package.sh "$dir" -mv "$dir/package.zip" bromite.zip rm -rf "$dir" diff --git a/package_microg.sh b/package_microg.sh index 67cc24e..4f0eef0 100755 --- a/package_microg.sh +++ b/package_microg.sh @@ -2,7 +2,7 @@ set -e dir=microg -version=20221222 +version=20234227 rm -rf "$dir" mkdir -p "$dir" @@ -49,5 +49,4 @@ install -D apk/android_vendor_partner_gms/FDroidPrivilegedExtension/privapp-perm "$dir/system/etc/permissions/privapp-permissions-org.fdroid.fdroid.privileged.xml" ./package.sh "$dir" -mv "$dir/package.zip" microg.zip rm -rf "$dir"