File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,12 +67,12 @@ def __call__(self, r):
6767else :
6868 try :
6969 magisk_link = json .loads (requests .get (
70- f"https://github. com/{ magisk_branch } /magisk-files/raw /master/{ magisk_ver } .json" ).content )['magisk' ]['link' ]
70+ f"https://raw.githubusercontent. com/{ magisk_branch } /magisk-files/master/{ magisk_ver } .json" ).content )['magisk' ]['link' ]
7171 download_files [f"magisk-{ magisk_ver } .zip" ] = magisk_link
7272 except Exception :
7373 print ("Failed to fetch from GitHub API, fallbacking to jsdelivr..." )
7474 magisk_link = json .loads (requests .get (
75- f"https://fastly.jsdelivr.net/gh/topjohnwu /magisk-files@master/{ magisk_ver } .json" ).content )['magisk' ]['link' ]
75+ f"https://fastly.jsdelivr.net/gh/{ magisk_branch } /magisk-files@master/{ magisk_ver } .json" ).content )['magisk' ]['link' ]
7676 download_files [f"magisk-{ magisk_ver } .zip" ] = magisk_link
7777res = requests .get (
7878 f"https://api.github.com/repos/LSPosed/WSA-Addon/releases/latest" , auth = github_auth )
You can’t perform that action at this time.
0 commit comments