at least on my side webbrowser.open("file:///home/path/to/file.org) always open a browser(firefox) tab of the file, instead of opening the file in emacs.
With the commit the os-open endpoint should open the file with subprocess now. You still need to configure default app on the system for .org file.
test:
With this fix, when I click on the /os-open/?filenam=xxx link in obsidian canvas, I get to emacs correctly
at least on my side![image](https://github.com/cpbotha/org-roam-canvas/assets/74124690/8cd017fe-506a-4a25-a441-04ce78994ab9)
webbrowser.open("file:///home/path/to/file.org)
always open a browser(firefox) tab of the file, instead of opening the file in emacs.With the commit the os-open endpoint should open the file with subprocess now. You still need to configure default app on the system for .org file.
test: With this fix, when I click on the /os-open/?filenam=xxx link in obsidian canvas, I get to emacs correctly![Peek 2024-06-22 12-12](https://github.com/cpbotha/org-roam-canvas/assets/74124690/7be21e53-9cf3-4d2a-9949-0ca967c526dc)