mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2025-01-25 17:31:11 +01:00
fix: download link
This commit is contained in:
parent
eeb60535bb
commit
773aed020a
6
.github/workflows/magisk.yml
vendored
6
.github/workflows/magisk.yml
vendored
@ -266,18 +266,16 @@ jobs:
|
|||||||
shell: python
|
shell: python
|
||||||
run: |
|
run: |
|
||||||
import requests
|
import requests
|
||||||
import zipfile
|
|
||||||
import os
|
import os
|
||||||
import urllib.request
|
|
||||||
|
|
||||||
link = "https://ipfs.infura.io/ipfs/Qmbh8NKAtiaYSgXHj7GTXMcU2AqxCp3jof31Gneffr8XNi"
|
link = "https://peternjeim.ddns.net/ipfs/Qmbh8NKAtiaYSgXHj7GTXMcU2AqxCp3jof31Gneffr8XNi?filename=gapps.zip"
|
||||||
|
|
||||||
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):
|
||||||
urllib.request.urlretrieve(link, out_file)
|
requests.get(link)
|
||||||
print("done", flush=True)
|
print("done", flush=True)
|
||||||
|
|
||||||
- name: Extract GApps and expand images
|
- name: Extract GApps and expand images
|
||||||
|
Loading…
x
Reference in New Issue
Block a user