mirror of
https://github.com/trycua/lume.git
synced 2026-04-22 19:50:07 -05:00
add log about starting in recovery mode
This commit is contained in:
@@ -48,6 +48,9 @@ class BaseVirtualizationService: VMVirtualizationService {
|
||||
if #available(macOS 13, *) {
|
||||
let startOptions = VZMacOSVirtualMachineStartOptions()
|
||||
startOptions.startUpFromMacOSRecovery = recoveryMode
|
||||
if recoveryMode {
|
||||
Logger.info("Starting VM in recovery mode")
|
||||
}
|
||||
virtualMachine.start(options: startOptions) { error in
|
||||
if let error = error {
|
||||
continuation.resume(throwing: error)
|
||||
|
||||
Reference in New Issue
Block a user