mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 22:50:51 +10:00
main.py: Publish OS Version
This commit is contained in:
@@ -159,6 +159,7 @@ class Constants:
|
|||||||
self.detected_os = 0 # Major Kernel Version
|
self.detected_os = 0 # Major Kernel Version
|
||||||
self.detected_os_minor = 0 # Minor Kernel Version
|
self.detected_os_minor = 0 # Minor Kernel Version
|
||||||
self.detected_os_build = "" # OS Build
|
self.detected_os_build = "" # OS Build
|
||||||
|
self.detected_os_version = "" # OS Version
|
||||||
|
|
||||||
## Boot Volume Settings
|
## Boot Volume Settings
|
||||||
self.firewire_boot = False # Allow macOS FireWire Boot
|
self.firewire_boot = False # Allow macOS FireWire Boot
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ class OpenCoreLegacyPatcher:
|
|||||||
self.constants.detected_os = os_probe.detect_kernel_major()
|
self.constants.detected_os = os_probe.detect_kernel_major()
|
||||||
self.constants.detected_os_minor = os_probe.detect_kernel_minor()
|
self.constants.detected_os_minor = os_probe.detect_kernel_minor()
|
||||||
self.constants.detected_os_build = os_probe.detect_os_build()
|
self.constants.detected_os_build = os_probe.detect_os_build()
|
||||||
|
self.constants.detected_os_version = os_probe.detect_os_version()
|
||||||
self.constants.computer = device_probe.Computer.probe()
|
self.constants.computer = device_probe.Computer.probe()
|
||||||
self.constants.recovery_status = utilities.check_recovery()
|
self.constants.recovery_status = utilities.check_recovery()
|
||||||
self.computer = self.constants.computer
|
self.computer = self.constants.computer
|
||||||
|
|||||||
Reference in New Issue
Block a user