Open nixinwang opened 8 months ago
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.
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.
allowedFileTypes is deprecated in macOS 12.0, use allowedContentTypes instead