mirror of
https://github.com/insidegui/VirtualBuddy.git
synced 2026-12-02 02:40:31 +08:00
* Fix HostingWindowController allowing repeated requests to close while waiting for confirmation * New virtual machine state preservation system with automatic save on close/quit and safe restoration * Use visible directories for saved state storage for easier debugging in Finder * Hide state restoration controls for unsupported Linux VMs * Add app-level preference for what happens by default when attempting to close a running VM * Use a custom sheet for VM close confirmation * Improve VM close choice sheet * Harden session storage against path traversal, fix race conditions in state coordination
14 lines
507 B
Swift
14 lines
507 B
Swift
import Foundation
|
|
import UniformTypeIdentifiers
|
|
|
|
public extension UTType {
|
|
/// Named saved states (`.vbst`) created by earlier versions of VirtualBuddy.
|
|
///
|
|
/// They can't be resumed safely: they never captured the disks as they were when the state was saved.
|
|
/// They're left exactly as they are, and the app only offers to show them in Finder.
|
|
static let virtualBuddySavedState = UTType(
|
|
exportedAs: "codes.rambo.VirtualBuddy.SavedState",
|
|
conformingTo: .bundle
|
|
)
|
|
}
|