Skip to content

Commit e35be92

Browse files
committed
update gh.llkk.cc
1 parent 04fe33a commit e35be92

9 files changed

Lines changed: 23 additions & 2 deletions

oclp_r/constants.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,16 +271,21 @@ def __init__(self) -> None:
271271
## GitHub mirror:
272272
###https://ghfast.top
273273
###https://gh-proxy.com
274+
###https://gh.llkk.cc
274275
###https://github.moeyy.xyz
275276
###https://gitapi.simplehac.top
276277
self.github_mirror: str = ""
277278
self.api_link()
278-
279+
280+
@property
279281
def api_link(self):
280282
if self.github_proxy_link!="SimpleHac":
283+
281284
self.kdk_api_link="https://dortania.github.io/KdkSupportPkg/manifest.json"
282285
self.metallib_api_link="https://dortania.github.io/MetallibSupportPkg/manifest.json"
286+
283287
if self.github_proxy_link=="SimpleHac":
288+
284289
self.kdk_api_link="https://next.oclpapi.simplehac.cn/KdkSupportPkg/manifest.json"
285290
self.metallib_api_link="https://next.oclpapi.simplehac.cn/MetallibSupportPkg/manifest.json"
286291
@property

oclp_r/support/kdk_handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ def _get_latest_kdk(self, host_build: str = None, host_version: str = None) -> N
202202
kdk['url']="https://gh-proxy.com/"+kdk['url']
203203
if self.constants.github_proxy_link=="ghfast":
204204
kdk['url']="https://ghfast.top/"+kdk['url']
205+
if self.constants.github_proxy_link=="ghllkk":
206+
kdk['url']="https://gh.llkk.cc/"+kdk['url']
205207
self.kdk_url = kdk["url"]
206208
logging.info(f"KDK URL:{self.kdk_url}")
207209
self.kdk_url_build = kdk["build"]

oclp_r/support/metallib_handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ def _get_latest_metallib(self) -> None:
165165
metallib['url']="https://gh-proxy.com/"+metallib['url']
166166
if self.constants.github_proxy_link=="ghfast":
167167
metallib['url']="https://ghfast.top/"+metallib['url']
168+
if self.constants.github_proxy_link=="ghllkk":
169+
metallib['url']="https://gh.llkk.cc/"+metallib['url']
168170
self.metallib_url = metallib["url"]
169171
self.metallib_url_build = metallib["build"]
170172
self.metallib_url_version = metallib["version"]

oclp_r/support/network_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(self, url: str = None) -> None:
4545
self.contents=constants.Constants()
4646
self.trans=TranslateLanguage(self.contents).network_handler()
4747
if self.contents.github_proxy_link=="Default":
48-
self.url="https://www.github.com"
48+
self.url="https://www.github.com/"
4949
else:
5050
self.url = "https://baidu.com/"
5151

oclp_r/support/translate_language.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,10 +1961,12 @@ def gui_settings(self):
19611961
"SimpleHac":"SimpleHac",
19621962
"gh-proxy":"gh-proxy",
19631963
"ghfast":"ghfast",
1964+
"ghllkk":"ghllkk",
19641965
"Default : https://dortania.github.io/":"Default : https://dortania.github.io/",
19651966
"SimpleHac : https://next.oclpapi.simplehac.cn/":"SimpleHac : https://next.oclpapi.simplehac.cn/",
19661967
"gh-proxy : https://gh-proxy.com/":"gh-proxy : https://gh-proxy.com/",
19671968
"ghfast : https://ghfast.top/":"ghfast : https://ghfast.top/",
1969+
"ghllkk : https://gh.llkk.cc/":"ghllkk : https://gh.llkk.cc/",
19681970
"Disable Reporting":"Disable Reporting",
19691971
"When enabled, patcher will not":"When enabled, patcher will not",
19701972
"report any info to Hackdoc.":"report any info to Hackdoc.",
@@ -2388,6 +2390,7 @@ def gui_settings(self):
23882390
"SimpleHac":"SimpleHac",
23892391
"gh-proxy":"gh-proxy",
23902392
"ghfast":"ghfast",
2393+
"ghllkk":"ghllkk",
23912394
"Default : https://dortania.github.io/":"默认 : https://dortania.github.io/",
23922395
"SimpleHac : https://next.oclpapi.simplehac.cn/":"SimpleHac : https://next.oclpapi.simplehac.cn/",
23932396
"gh-proxy : https://gh-proxy.com/":"gh-proxy : https://gh-proxy.com/",
@@ -2396,6 +2399,7 @@ def gui_settings(self):
23962399
"SimpleHac : https://next.oclpapi.simplehac.cn/":"SimpleHac : https://next.oclpapi.simplehac.cn/",
23972400
"gh-proxy : https://gh-proxy.com/":"gh-proxy : https://gh-proxy.com/",
23982401
"ghfast : https://ghfast.top/":"ghfast : https://ghfast.top/",
2402+
"ghllkk : https://gh.llkk.cc/":"ghllkk : https://gh.llkk.cc/",
23992403
"Disable Reporting":"禁用报告",
24002404
"When enabled, patcher will not":"启用时,补丁程序不会",
24012405
"report any info to Hackdoc.":"向 Hackdoc 报告任何信息。",

oclp_r/support/updates.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ def check_binary_updates(self) -> Optional[dict]:
127127
link="https://ghfast.top/"+begi
128128
elif self.constants.github_proxy_link=="gh-proxy":
129129
link="https://gh-proxy.com/"+begi
130+
elif self.constants.github_proxy_link=="ghllkk":
131+
link="https://gh.llkk.cc/"+begi
130132
self.latest_details = {
131133
"Name": asset["name"],
132134
"Version": latest_remote_version,

oclp_r/wx_gui/gui_KDK_download.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ def _fetch_installers():
8686
self.kdk_data[i]['url']="https://gh-proxy.com/"+self.kdk_data[i]['url']
8787
if self.constants.github_proxy_link=="ghfast":
8888
self.kdk_data[i]['url']="https://ghfast.top/"+self.kdk_data[i]['url']
89+
if self.constants.github_proxy_link=="ghllkk":
90+
self.kdk_data[i]['url']="https://gh.llkk.cc/"+self.kdk_data[i]['url']
8991
for i in range(len(self.kdk_data)):
9092
data=self.kdk_data[i]["build"][:2]
9193
data2=self.kdk_data[i]["build"]

oclp_r/wx_gui/gui_metallib_download.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ def _fetch_installers():
7575
self.kdk_data[i]['url']="https://gh-proxy.com/"+self.kdk_data[i]['url']
7676
if self.constants.github_proxy_link=="ghfast":
7777
self.kdk_data[i]['url']="https://ghfast.top/"+self.kdk_data[i]['url']
78+
if self.constants.github_proxy_link=="ghllkk":
79+
self.kdk_data[i]['url']="https://gh.llkk.cc/"+self.kdk_data[i]['url']
7880
kdk_data_number.append(data)
7981
kdk_data_build.append(data2)
8082
for i in range(4):

oclp_r/wx_gui/gui_settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,7 @@ def _settings(self) -> dict:
906906
"SimpleHac",
907907
"gh-proxy",
908908
"ghfast",
909+
"ghllkk",
909910
],
910911
"value": self.constants.github_proxy_link,
911912
"variable": "github_proxy_link",
@@ -915,6 +916,7 @@ def _settings(self) -> dict:
915916
self.trans["SimpleHac : https://next.oclpapi.simplehac.cn/"],
916917
self.trans["gh-proxy : https://gh-proxy.com/"],
917918
self.trans["ghfast : https://ghfast.top/"],
919+
self.trans["ghllkk : https://gh.llkk.cc/"],
918920
],
919921
},
920922

0 commit comments

Comments
 (0)