Remove automatic zipsigner download

gf-arm64
FriendlyNeighborhoodShane 4 years ago
parent 7f49166984
commit 4fda897974

@ -75,8 +75,6 @@ cd to this directory and run:
> ./update.sh
```
To download all the assets to resdl directory.
NOTE: This will download a zipsigner.jar (topjohnwu's rewrite of the AOSP version) into resdl/util, if the file does not exist already. The source can be found in the Magisk repo, and prebuilt binaries in attachments [here](https://forum.xda-developers.com/showpost.php?p=56621542)
```
> ./build.sh all
```
@ -91,6 +89,8 @@ If you have the Java SDK and openssl tool installed, the update script will dump
If you have aapt installed, the update script will download the permission docs from the Android website, check the priv-apps for any new privileged permissions and tell you to add them to the whitelist in res/system/etc/permissions/[package].xml files.
If you have java installed, you can automatically get the build script to sign all zips with testkeys. You will need to compile a zipsigner.jar (topjohnwu's rewrite of the AOSP version) and put it into into resdl/util. The source can be found in the Magisk repo, and a prebuilt binary [here](https://github.com/FriendlyNeighborhoodShane/MinMicroG_releases/releases/download/init/zipsigner.jar)
To build your own custom pack, refer to custom-pack.md in the conf directory.
### Credits

@ -68,7 +68,6 @@ pre_update_actions() {
post_update_actions() {
unzipmaps;
getzipsigner;
updatedelta;
verifycerts;
checkwhitelist;
@ -91,22 +90,6 @@ unzipmaps() {
}
getzipsigner() {
zipsigner="util/zipsigner.jar";
zipsignerurl="https://forum.xda-developers.com/attachment.php?attachmentid=4586999";
[ -f "$resdldir/$zipsigner" ] && return 0;
echo " ";
echo " - Downloading zipsigner JAR...";
wget -q --show-progress "$zipsignerurl" -O "$tmpdir/zipsigner.jar" || { echo "ERROR: zipsigner.jar failed to download" >&2; return 1; }
mkdir -p "$resdldir/$(dirname "$zipsigner")";
mv -f "$tmpdir/zipsigner.jar" "$resdldir/$zipsigner";
}
updatedelta() {
echo " ";

Loading…
Cancel
Save