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