Fixes issue importing games that previously failed to import
This commit is contained in:
parent
24d6da3af2
commit
34a1c78199
@ -44,6 +44,11 @@ struct iTunesImportOption: ImportOption
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
if FileManager.default.fileExists(atPath: destinationURL.path)
|
||||||
|
{
|
||||||
|
try FileManager.default.removeItem(at: destinationURL)
|
||||||
|
}
|
||||||
|
|
||||||
try FileManager.default.moveItem(at: url, to: destinationURL)
|
try FileManager.default.moveItem(at: url, to: destinationURL)
|
||||||
importedURLs.insert(destinationURL)
|
importedURLs.insert(destinationURL)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user