mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-10 21:55:11 +01:00
fix: download link
This commit is contained in:
parent
7b6cff2666
commit
66efe00ba4
6
.github/workflows/magisk.yml
vendored
6
.github/workflows/magisk.yml
vendored
@ -265,17 +265,17 @@ jobs:
|
|||||||
if: ${{ matrix.arch == 'x64' && github.event.inputs.gapps_variant == 'full' && github.event.inputs.gapps_version == '12.1' }}
|
if: ${{ matrix.arch == 'x64' && github.event.inputs.gapps_variant == 'full' && github.event.inputs.gapps_version == '12.1' }}
|
||||||
shell: python
|
shell: python
|
||||||
run: |
|
run: |
|
||||||
import requests
|
|
||||||
import os
|
import os
|
||||||
|
import urllib.request
|
||||||
|
|
||||||
link = "https://peternjeim.ddns.net:8081/ipfs/Qmbh8NKAtiaYSgXHj7GTXMcU2AqxCp3jof31Gneffr8XNi?filename=gapps.zip"
|
link = "http://peternjeim.ddns.net:8081/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