refactors iOS theme downloads

This commit is contained in:
Stuart Breckenridge committed 2021-09-20 09:36:09 +08:00
1 parent 105a78bc0f
commit afd952fbc2
4 files changed
+85 -41

No files matched your search

@@ -60,7 +60,6 @@ extension AppDelegate : AppDelegateAppleEvents {
try? FileManager.default.createDirectory(at: downloadDirectory, withIntermediateDirectories: true, attributes: nil)
let tmpFileName = UUID().uuidString + ".zip"
downloadDirectory.appendPathComponent("\(tmpFileName)")
if location == nil {
return
}