-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Description
Operating system
Windows
Joplin version
3.5.9
Desktop version info
Joplin 3.5.9 (prod, win32)
Device: win32, Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Client ID: a2f22b33d52b4e94abc8e2289a674c49
Sync Version: 3
Profile Version: 49
Keychain Supported: No
Alternative instance ID: -
Revision: 4afac41
Embed Search: 2.0.0
Favorites: 1.3.2
Freehand Drawing: 3.1.0
Paste as Markdown: 1.1.1
Current behaviour
Whenever JoplinPortable.exe is launched it creates a temporary copy of Joplin.exe in the Windows temp directory. It then updates the registry HKCR\joplin\shell\open\command default value to point to this temp version of Joplin. The result is that an external link to a note using the joplin:// protocol will open this blank instance of Joplin instead of JoplinPortable where the note resides.
Expected behaviour
I would expect that an external joplin:// link will open my copy of JoplinPortable.exe and the referenced note. My current workaround is two steps:
- Update the Windows registry so that the HKCR\joplin\shell\open\command points to my copy of JoplinPortable.exe similar to this:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\joplin]
"URL Protocol"=""
@="URL:joplin"
[HKEY_CLASSES_ROOT\joplin\shell]
[HKEY_CLASSES_ROOT\joplin\shell\open]
[HKEY_CLASSES_ROOT\joplin\shell\open\command]
@="\"E:\\Joplin\\JoplinPortable.exe\" \"%1\""
- Prevent JoplinPortable from modifying the registry key upon launch by setting the permissions on
HKCR\joplinand all its children to read-only for the current user
Logs
No response