@@ -60,19 +60,12 @@ def __init__(self, parent: wx.Frame, title: str, global_constants: constants.Con
6060 self .frame_modal .ShowWindowModal ()
6161
6262 def api_link (self ):
63- if self .constants .github_proxy_link != "SimpleHac" :
64- self .constants .kdk_api_link = "https://dortania.github.io/KdkSupportPkg/manifest.json"
65- self .constants .metallib_api_link = "https://dortania.github.io/MetallibSupportPkg/manifest.json"
66- print (f"- User Select kdk link: { self .constants .kdk_api_link } " )
67- print (f"- User Select metallib link: { self .constants .metallib_api_link } " )
63+ self .constants .kdk_api_link = "https://dortania.github.io/KdkSupportPkg/manifest.json"
64+ self .constants .metallib_api_link = "https://dortania.github.io/MetallibSupportPkg/manifest.json"
65+ print (f"- User Select kdk link: { self .constants .kdk_api_link } " )
66+ print (f"- User Select metallib link: { self .constants .metallib_api_link } " )
6867
69- if self .constants .github_proxy_link == "SimpleHac" :
70-
71- self .constants .kdk_api_link = "https://next.oclpapi.simplehac.cn/KdkSupportPkg/manifest.json"
72- self .constants .metallib_api_link = "https://next.oclpapi.simplehac.cn/MetallibSupportPkg/manifest.json"
73-
74- print (f"- User Select kdk link: { self .constants .kdk_api_link } " )
75- print (f"- User Select metallib link: { self .constants .metallib_api_link } " )
68+
7669 def condition_exp (self ,key :str ):
7770 import json
7871 try :
@@ -918,7 +911,6 @@ def _settings(self) -> dict:
918911 "type" : "choice" ,
919912 "choices" : [
920913 "Default" ,
921- "SimpleHac" ,
922914 "gh-proxy" ,
923915 "ghfast" ,
924916 "ghllkk" ,
@@ -928,7 +920,6 @@ def _settings(self) -> dict:
928920 "constants_variable" : "github_proxy_link" ,
929921 "description" : [
930922 self .trans ["Default : https://dortania.github.io/" ],
931- self .trans ["SimpleHac : https://next.oclpapi.simplehac.cn/" ],
932923 self .trans ["gh-proxy : https://gh-proxy.com/" ],
933924 self .trans ["ghfast : https://ghfast.top/" ],
934925 self .trans ["ghllkk : https://gh.llkk.cc/" ],
0 commit comments