Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added feature to return macOS desktop path for StoragePath #813

Merged
merged 7 commits into from
Jan 8, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update storagepath.py
  • Loading branch information
temitayoadefemi committed Jul 30, 2024
commit a1c463a9e28742c990a3dafad74c146ef2dc5cf2
5 changes: 0 additions & 5 deletions plyer/platforms/ios/storagepath.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
NSMoviesDirectory = 17
NSMusicDirectory = 18
NSPicturesDirectory = 19
NSDesktopDirectory = 12


class iOSStoragePath(StoragePath):
Expand Down Expand Up @@ -58,10 +57,6 @@ def _get_application_dir(self):
NSApplicationDirectory, 1).firstObject().absoluteString.\
UTF8String()

def _get_desktop_dir(self):
return self.defaultManager.URLsForDirectory_inDomains_(
NSDesktopDirectory, 1).firstObject().absoluteString().\
UTF8String()


def instance():
Expand Down