mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
os_probe.py: Remove new line output
This commit is contained in:
@@ -19,4 +19,4 @@ def detect_kernel_minor():
|
|||||||
def detect_kernel_build():
|
def detect_kernel_build():
|
||||||
# Return OS build
|
# Return OS build
|
||||||
# Example Output: 21A5522h (string)
|
# Example Output: 21A5522h (string)
|
||||||
return subprocess.run("sw_vers -buildVersion".split(), stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout.decode()
|
return subprocess.run("sw_vers -buildVersion".split(), stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout.decode().split("\n")[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user