Fix the incorrect path in some cases

This commit is contained in:
Hoang Hong Quan
2024-07-27 18:25:25 +07:00
parent 4b480b7751
commit d9e0ed9b34
6 changed files with 10 additions and 12 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ class KextMaestro:
"idVendor",
"HDAConfigDefault"
]
self.ock_files_dir = os.path.join(os.getcwd(), "OCK_Files")
self.ock_files_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "OCK_Files")
self.kext_loading_sequence = [
{
"MainKext": "Lilu",