Path direct folder for Mac
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.7k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
You will need use Macintosh thing support Thanks.
For Windows and Linux is a
cd c:/>
For Macintosh is a
cd /Volumes/
This code:
if osys == "Linux":
if debug:
print("FONTSELECTOR --- OS : Linux")
return [
r"/usr/share/fonts", # Debian Ubuntu
r"/usr/local/share/fonts", # Debian Ubuntu
r"/usr/X11R6/lib/X11/fonts", # RH
os.path.join(user_path, r".local/share/fonts"), # Fedora
os.path.join(user_path, r".fonts"), # Debian Ubuntu
]
elif osys == "Windows":
if debug:
print("FONTSELECTOR --- OS : Windows")
return [
r"C:\Windows\Fonts",
r" C:\Program Files\WindowsApps",
os.path.join(user_path, "fonts"), # System wide install
os.path.join(user_path, r"Microsoft\Windows\Fonts"), # User install
]
elif osys == "Darwin":
if debug:
print("FONTSELECTOR --- OS : Mac")
return [
# MacOS 10.8 to present (MacOS 15.2) December 17, 2024
# For example: cd /Volumes/(Hard Drive name)/System/Library/Fonts/
os.path.join(user_path, r"Library/Fonts/"), # ~/Library/Fonts/ path.
r"/Library/Fonts/", # /Library/Fonts/ path.
r"/System/Library/Fonts/", # /System/Fonts/ path.
]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the repository for the FONTSELECTOR debug message and the Darwin branch shown in the issue. Review how font directories are assembled for macOS, then verify that the expected Macintosh volume and system font locations are included and covered by the relevant tests or a manual macOS check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100