Skip to content
This repository was archived by the owner on Jun 3, 2022. It is now read-only.

File filters not working on MacOS #14

Description

@SolarLune

Hello!

I've noticed a couple of issues with MacOS's File() (and by extension FileMulti()) functions' file filtering.

  • The filter argument only works for a single file extension - you can't pass, say, "jpg png" to filter out any non-image files.

  • The extension filter argument MacOS expects (jpg, for example) isn't the same format as what Linux and Windows takes (*.jpg).

I've submitted a PR to resolve these issues - #13. I also expounded on the documentation to give an idea of what a cross-platform filter argument would look like. I just wanted to create an issue here to explain it a bit in case you had some questions or wanted to discuss it a bit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions