Skip to content

Instantly share code, notes, and snippets.

@jimdi
Created February 25, 2016 00:05
Show Gist options
  • Save jimdi/1d1b48c9235e5ada41d3 to your computer and use it in GitHub Desktop.
Save jimdi/1d1b48c9235e5ada41d3 to your computer and use it in GitHub Desktop.
Per-user Telegram Link mapping
Windows Registry Editor Version 5.00
; Per-user Telegram Link mapping
[HKEY_CURRENT_USER\Software\Classes\tg]
@="URL:Telegram Link"
"URL Protocol"="D:\\Prog\\Telegram Desktop\\Telegram.exe"
[HKEY_CURRENT_USER\Software\Classes\tg\DefaultIcon]
@="D:\\Prog\\Telegram Desktop\\Telegram.exe,1"
[HKEY_CURRENT_USER\Software\Classes\tg\shell]
[HKEY_CURRENT_USER\Software\Classes\tg\shell\open]
[HKEY_CURRENT_USER\Software\Classes\tg\shell\open\command]
@="\"D:\\Prog\\Telegram Desktop\\Telegram.exe\" -workdir \"D:\\Prog\\Telegram Desktop\" -- \"%1\""
@jimdi
Copy link
Author

jimdi commented Mar 18, 2016

don't forget to replace path D:\Prog\Telegram Desktop\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment