Merge branch 'main' into vmm

This commit is contained in:
Mykola Grymalyuk
2021-10-10 20:50:25 -06:00
committed by GitHub
25 changed files with 595 additions and 341 deletions

View File

@@ -2,7 +2,8 @@
from resources import utilities, device_probe
from data import model_array
class generate_defaults():
class generate_defaults:
def probe(model, host_is_target, settings):
# Generate Default Data
# Takes in Settings data set, and returns updated Settings
@@ -59,7 +60,6 @@ class generate_defaults():
settings.secure_status = False # Modified root volume
settings.allow_fv_root = True # Allow FileVault on broken seal
# settings.amfi_status = True # Signed bundles, Don't need to explicitly set currently
if model == "MacBook8,1":
# MacBook8,1 has an odd bug where it cannot install Monterey with Minimal spoofing
@@ -83,4 +83,4 @@ class generate_defaults():
settings.allow_ts2_accel = False
# Check if running in RecoveryOS
settings.recovery_status = utilities.check_recovery()
settings.recovery_status = utilities.check_recovery()