refactor: Fix macOS standalone application
This commit is contained in:
66 files changed
+2799
-585
No files matched your search
@@ -93,6 +93,14 @@ class FileProviderItem: NSObject, NSFileProviderItem {
|
||||
return NSNumber(value: contents?.count ?? 0)
|
||||
}
|
||||
|
||||
// MARK: - Local File Status
|
||||
|
||||
var isUploaded: Bool { true }
|
||||
var isUploading: Bool { false }
|
||||
var isDownloaded: Bool { true }
|
||||
var isDownloading: Bool { false }
|
||||
var isMostRecentVersionDownloaded: Bool { true }
|
||||
|
||||
private var isDirectory: Bool {
|
||||
var isDir: ObjCBool = false
|
||||
FileManager.default.fileExists(atPath: url.path, isDirectory: &isDir)
|
||||
|
||||
Reference in new issue
Block a user