File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,25 +62,6 @@ def api_link(self):
6262 self .constants .metallib_api_link = "https://dortania.github.io/MetallibSupportPkg/manifest.json"
6363 print (f"- User Select kdk link: { self .constants .kdk_api_link } " )
6464 print (f"- User Select metallib link: { self .constants .metallib_api_link } " )
65-
66-
67- def condition_exp (self ,key :str ):
68- import json
69- try :
70-
71- developer_path = Path ("~/.hackdoc_developer" ).expanduser ()
72- if developer_path .exists ():
73- return True
74-
75- base_path = Path ("~/Library/Logs/Hackdoc/JSON/control.json" ).expanduser ()
76- with open (base_path ,"r" ,encoding = "utf-8" ) as file :
77- data = json .load (file )
78- if data [key ]== "1" :
79- return True
80- return False
81- except :
82- return False
83-
8465
8566 def _generate_elements (self , frame : wx .Frame = None ) -> None :
8667 """
@@ -779,7 +760,6 @@ def _settings(self) -> dict:
779760 self .trans ["When enabled, this will patch the Old USB" ],
780761 self .trans ["extensions on Tahoe." ],
781762 ],
782- "condition" :self .condition_exp ("USB" )
783763 },
784764 self .trans ["AppleHDA.kext Version" ]: {
785765 "type" : "choice" ,
You can’t perform that action at this time.
0 commit comments