On Mon May 8 04:35:44 2023 +0000, Alex Henrie wrote:
That's really interesting, I didn't know that Wine could do that. I tried it and `explorer file:///some/unix/path/` works too. However, as you alluded to, there is a bigger reason why we don't want desktop integration for file URIs: Associating a program with the file "protocol" is like associating it with all file types, which would be obnoxious and lend itself to the same kinds of abuse as associating a program with .com, .exe, or .msi. (Incidentally, desktop integration for third-party associations with .bat really shouldn't be allowed either.) I've pushed a new patch that changes the comment in is_type_banned to explain the above reasoning for prohibiting desktop integration for file URI associations. Please let me know if you have any further concerns.
The `file:` protocol should be handled by the already existing `wine-extension-%s.desktop` files.