mirror of
https://github.com/cirruslabs/tart.git
synced 2026-10-03 20:55:59 +02:00
@@ -477,7 +477,7 @@ struct Run: AsyncParsableCommand {
|
||||
allNamedShares = false
|
||||
}
|
||||
}
|
||||
if directoryShares.count == 1 {
|
||||
if directoryShares.count == 1 && directoryShares.first!.name == nil {
|
||||
let directoryShare = directoryShares.first!
|
||||
let singleDirectoryShare = VZSingleDirectoryShare(directory: try directoryShare.createConfiguration())
|
||||
sharingDevice.share = singleDirectoryShare
|
||||
|
||||
Reference in New Issue
Block a user