mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 14:40:52 +10:00
arguments.py: Avoid overwritting vars in auto patcher
This commit is contained in:
@@ -10,6 +10,7 @@ class arguments:
|
|||||||
self.args = utilities.check_cli_args()
|
self.args = utilities.check_cli_args()
|
||||||
|
|
||||||
def parse_arguments(self, settings):
|
def parse_arguments(self, settings):
|
||||||
|
if not self.args.auto_patch:
|
||||||
if self.args.model:
|
if self.args.model:
|
||||||
if self.args.model:
|
if self.args.model:
|
||||||
print(f"- Using custom model: {self.args.model}")
|
print(f"- Using custom model: {self.args.model}")
|
||||||
@@ -19,7 +20,7 @@ class arguments:
|
|||||||
print(
|
print(
|
||||||
"""Your model is not supported by this patcher for running unsupported OSes!"
|
"""Your model is not supported by this patcher for running unsupported OSes!"
|
||||||
|
|
||||||
If you plan to create the USB for another machine, please select the "Change Model" option in the menu."""
|
If you plan to create the USB for another machine, please select the "Change Model" option in the menu."""
|
||||||
)
|
)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user