Open ayangweb opened 14 hours ago
Hmm, it's not supposed to trigger it so not really a bug. 🤔
On a lower level file as docs and deep links behave the same so I'll leave this issue open to wait for Amr's thoughts.
Not sure what you mean by "file as docs and deep link behave the same", did you mean file associations?
Anyways, I'd prefer to keep file associations (and deep links) on Windows and Linux to be handled by user explicitly but recently we tried to automatically detect and trigger onOpenUrl
for deep links on Linux and Windows so I don't think we shouldn't handle this one either.
@amrbashir I implemented the tray in a pure front-end way, can you see any problems with the code?
Describe the bug
On Windows and Linux, configuring fileAssociations does not trigger the onOpenUrl method of the deep-link plugin when double-clicking a file.
tauri.config.json
MacOS:
https://github.com/user-attachments/assets/8c48bc7f-a37a-4064-9cd2-5cec861f51f2
Windows:
https://github.com/user-attachments/assets/c9375e3e-79f5-4d6c-9b13-2802b07a9ed9
Linux:
https://github.com/user-attachments/assets/e41c468d-fe34-44a9-a1f8-39e3b463d21b
Reproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response