Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Mac dirs don't use correct APIs to look up names #30

Description

@lambda

On macOS, the names of the various system-created directories like Library, Music, etc can vary based on the user's locale.

This crate simply hard-codes paths such as home_dir().map(|h| h.join("Music")), which won't always find the correct directory.

Instead, the NSSearchPathForDirectoriesInDomains should be used to find the appropriate path to look for.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions