diff --git a/Sources/tart/Commands/Create.swift b/Sources/tart/Commands/Create.swift index 69930e6..a85de3e 100644 --- a/Sources/tart/Commands/Create.swift +++ b/Sources/tart/Commands/Create.swift @@ -40,7 +40,7 @@ struct Create: AsyncParsableCommand { } else if fromIPSW.starts(with: "http://") || fromIPSW.starts(with: "https://") { ipswURL = URL(string: fromIPSW)! } else { - ipswURL = URL(fileURLWithPath: fromIPSW) + ipswURL = URL(fileURLWithPath: NSString(string: fromIPSW).expandingTildeInPath) } _ = try await VM(vmDir: tmpVMDir, ipswURL: ipswURL, diskSizeGB: diskSize)