mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-20 10:44:32 +10:00
Merge branch 'main' into 3802-experiment
This commit is contained in:
@@ -17,7 +17,7 @@ from data import (
|
||||
|
||||
class GenerateDefaults:
|
||||
|
||||
def __init__(self, model: str, host_is_target: bool, global_constants: constants.Constants):
|
||||
def __init__(self, model: str, host_is_target: bool, global_constants: constants.Constants) -> None:
|
||||
self.constants: constants.Constants = global_constants
|
||||
|
||||
self.model: str = model
|
||||
@@ -51,7 +51,7 @@ class GenerateDefaults:
|
||||
self._smbios_probe()
|
||||
|
||||
|
||||
def _general_probe(self):
|
||||
def _general_probe(self) -> None:
|
||||
"""
|
||||
General probe for data
|
||||
"""
|
||||
@@ -93,7 +93,7 @@ class GenerateDefaults:
|
||||
self.constants.should_nuke_kdks = False
|
||||
|
||||
|
||||
def _smbios_probe(self):
|
||||
def _smbios_probe(self) -> None:
|
||||
"""
|
||||
SMBIOS specific probe
|
||||
"""
|
||||
@@ -128,7 +128,7 @@ class GenerateDefaults:
|
||||
self.constants.force_vmm = False
|
||||
|
||||
|
||||
def _nvram_probe(self):
|
||||
def _nvram_probe(self) -> None:
|
||||
"""
|
||||
NVRAM specific probe
|
||||
"""
|
||||
@@ -153,7 +153,7 @@ class GenerateDefaults:
|
||||
self.constants.custom_cpu_model_value = custom_cpu_model_value.split("%00")[0]
|
||||
|
||||
|
||||
def _networking_probe(self):
|
||||
def _networking_probe(self) -> None:
|
||||
"""
|
||||
Networking specific probe
|
||||
"""
|
||||
@@ -195,7 +195,7 @@ class GenerateDefaults:
|
||||
self.constants.fu_arguments = " -disable_sidecar_mac"
|
||||
|
||||
|
||||
def _misc_hardwares_probe(self):
|
||||
def _misc_hardwares_probe(self) -> None:
|
||||
"""
|
||||
Misc probe
|
||||
"""
|
||||
@@ -211,7 +211,7 @@ class GenerateDefaults:
|
||||
break
|
||||
|
||||
|
||||
def _gpu_probe(self):
|
||||
def _gpu_probe(self) -> None:
|
||||
"""
|
||||
Graphics specific probe
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user