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
Update storagepath.py
  • Loading branch information
temitayoadefemi committed Jul 30, 2024
commit 98ed208873206b28b24cdcd40398634d569bb26b
11 changes: 10 additions & 1 deletion plyer/facades/storagepath.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,17 @@ def get_application_dir(self):
Get the path of the directory holding application files.
'''
return self._get_application_dir()

def get_desktop_dir(self):
'''
Get the path of the directory holding application files.
'''
return self._get_desktop_dir()


def _get_home_dir(self):
raise NotImplementedError()

def _get_external_storage_dir(self):
raise NotImplementedError()

Expand Down Expand Up @@ -134,3 +141,5 @@ def _get_pictures_dir(self):
def _get_application_dir(self):
raise NotImplementedError()

def _get_desktop_dir(self):
raise NotImplementedError()