From 8a0711bc62c9fb1176fcc94e39f1661d9c7739d8 Mon Sep 17 00:00:00 2001 From: osy <50960678+osy@users.noreply.github.com> Date: Wed, 12 Jan 2022 16:00:28 -0800 Subject: [PATCH] wizard: hide macOS for emulate It is not supported. --- Platform/Shared/VMWizardOSView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Shared/VMWizardOSView.swift b/Platform/Shared/VMWizardOSView.swift index 02db6fffb..062feafd6 100644 --- a/Platform/Shared/VMWizardOSView.swift +++ b/Platform/Shared/VMWizardOSView.swift @@ -25,7 +25,7 @@ struct VMWizardOSView: View { Text("Operating System") .font(.largeTitle) #if os(macOS) && arch(arm64) - if #available(macOS 12, *) { + if #available(macOS 12, *), wizardState.useVirtualization { Button { wizardState.operatingSystem = .macOS wizardState.useAppleVirtualization = true