Skip to content

Commit

Permalink
settings(apple): save cleared ipsw path
Browse files Browse the repository at this point in the history
Fixes #5611
  • Loading branch information
osy committed Sep 2, 2023
1 parent 94086d1 commit 7339e5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Services/UTMAppleVirtualMachine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -774,6 +774,8 @@ extension UTMAppleVirtualMachine {
_ = url.startAccessingSecurityScopedResource()
registryEntry.macRecoveryIpsw = try UTMRegistryEntry.File(url: url, isReadOnly: true)
url.stopAccessingSecurityScopedResource()
} else {
registryEntry.macRecoveryIpsw = nil
}
}

Expand Down

0 comments on commit 7339e5f

Please sign in to comment.