mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-13 20:28:21 +10:00
Fix pathing when running command file
This commit is contained in:
@@ -24,6 +24,7 @@ while MainMenu:
|
||||
print("###################################################")
|
||||
print(" OpenCore Legacy patcher v%s" % patcher_version)
|
||||
print(" Current Model: %s" % BuildOpenCore.current_model)
|
||||
print(Versions.current_path)
|
||||
print("###################################################")
|
||||
print("")
|
||||
if BuildOpenCore.current_model not in ModelArray.SupportedSMBIOS:
|
||||
|
||||
@@ -25,6 +25,8 @@ io80211high_sierra_version = "1.0.0"
|
||||
io80211mojave_version = "1.0.0"
|
||||
|
||||
# List current location
|
||||
os.chdir(os.path.dirname(os.path.realpath(__file__)))
|
||||
os.chdir("..")
|
||||
current_path = os.getcwd()
|
||||
|
||||
# Payload Location
|
||||
|
||||
Reference in New Issue
Block a user