Skip to content

Conversation

nixinwang
Copy link

allowedFileTypes is deprecated in macOS 12.0, use allowedContentTypes instead

@nawivee
Copy link

nawivee commented May 21, 2024

Any updates @sqweek ?
I got this warning as well. It works for now. But I'm afraid with some coming MacOS updates the lib will stop working.

@sqweek
Copy link
Owner

sqweek commented May 25, 2024

As discussed in #82 the problem with these changes is they break compatibility with older OSX releases.

Ultimately I think dialog would benefit from some kind of backend selection mechanism, allowing users to choose between eg. gtk2 vs gtk3 or macOS 10.0 vs macOS 12.0 compatibility. However I'm not sure how to implement that without requiring additional imports (which breaks existing usage), and I don't spend much time with go programming these days so I'm unlikely to figure it out myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants