From eeb60535bb03fb7d7ff8e73c80cb6f58abfcf5da Mon Sep 17 00:00:00 2001 From: Peter Njeim Date: Fri, 20 May 2022 19:20:30 -0300 Subject: [PATCH] fix: revert previous changes --- .github/workflows/magisk.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/magisk.yml b/.github/workflows/magisk.yml index db2eecf..b63f952 100644 --- a/.github/workflows/magisk.yml +++ b/.github/workflows/magisk.yml @@ -266,17 +266,18 @@ jobs: shell: python run: | import requests + import zipfile import os import urllib.request - link = "https://ipfs.infura.io/ipfs/Qmbh8NKAtiaYSgXHj7GTXMcU2AqxCp3jof31Gneffr8XNi?filename=gapps.zip" + link = "https://ipfs.infura.io/ipfs/Qmbh8NKAtiaYSgXHj7GTXMcU2AqxCp3jof31Gneffr8XNi" print(f"downloading link: {link}", flush=True) out_file = "gapps.zip" if not os.path.isfile(out_file): - requests.get(link) + urllib.request.urlretrieve(link, out_file) print("done", flush=True) - name: Extract GApps and expand images