mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-12-25 02:41:48 +01:00
fix: revert previous changes
This commit is contained in:
parent
a7d8bc0843
commit
eeb60535bb
5
.github/workflows/magisk.yml
vendored
5
.github/workflows/magisk.yml
vendored
@ -266,17 +266,18 @@ jobs:
|
|||||||
shell: python
|
shell: python
|
||||||
run: |
|
run: |
|
||||||
import requests
|
import requests
|
||||||
|
import zipfile
|
||||||
import os
|
import os
|
||||||
import urllib.request
|
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)
|
print(f"downloading link: {link}", flush=True)
|
||||||
|
|
||||||
out_file = "gapps.zip"
|
out_file = "gapps.zip"
|
||||||
|
|
||||||
if not os.path.isfile(out_file):
|
if not os.path.isfile(out_file):
|
||||||
requests.get(link)
|
urllib.request.urlretrieve(link, out_file)
|
||||||
print("done", flush=True)
|
print("done", flush=True)
|
||||||
|
|
||||||
- name: Extract GApps and expand images
|
- name: Extract GApps and expand images
|
||||||
|
Loading…
Reference in New Issue
Block a user