Skip to content

Commit 939cc36

Browse files
committed
Ensure .moviesDirectory maps to XDG’s VIDEOS directory.
1 parent e731323 commit 939cc36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/FileManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ open class FileManager : NSObject {
337337
return [ URL(fileURLWithPath: "/home", isDirectory: true) ]
338338

339339
case .moviesDirectory:
340-
return []
340+
return [ _XDGUserDirectory.videos.url ]
341341

342342
case .musicDirectory:
343343
guard domain == .user else { return [] }

0 commit comments

Comments
 (0)