不知道什么时候开始,电脑浏览器打开电报链接,不会弹窗提示打开客户端了,比如:https://t.me/zsxwz
找到了一个方法,修改注册表:
复制代码,修改路径为,你电脑的电报安装目录,保存代码为tg.reg
运行注册表即可。
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\tdesktop.tg]
[HKEY_CLASSES_ROOT\tdesktop.tg\DefaultIcon]
@="\"C:\\Users\\Administrator\\AppData\\Roaming\\Telegram Desktop\\Telegram.exe,1\""
[HKEY_CLASSES_ROOT\tdesktop.tg\shell]
[HKEY_CLASSES_ROOT\tdesktop.tg\shell\open]
[HKEY_CLASSES_ROOT\tdesktop.tg\shell\open\command]
@="\"C:\\Users\\Administrator\\AppData\\Roaming\\Telegram Desktop\\Telegram.exe\" -workdir \"C:/Users/Administrator/AppData/Roaming/Telegram Desktop/\" -- \"%1\""
[HKEY_CURRENT_USER\SOFTWARE\Classes\tdesktop.tg]
[HKEY_CURRENT_USER\SOFTWARE\Classes\tdesktop.tg\DefaultIcon]
@="\"C:\\Users\\Administrator\\AppData\\Roaming\\Telegram Desktop\\Telegram.exe,1\""
[HKEY_CURRENT_USER\SOFTWARE\Classes\tdesktop.tg\shell]
[HKEY_CURRENT_USER\SOFTWARE\Classes\tdesktop.tg\shell\open]
[HKEY_CURRENT_USER\SOFTWARE\Classes\tdesktop.tg\shell\open\command]
@="\"C:\\Users\\Administrator\\AppData\\Roaming\\Telegram Desktop\\Telegram.exe\" -workdir \"C:/Users/Administrator/AppData/Roaming/Telegram Desktop/\" -- \"%1\""
[HKEY_CLASSES_ROOT\tg]
"URL Protocol"=""
@="URL:Telegram Link"
[HKEY_CLASSES_ROOT\tg\DefaultIcon]
@="\"C:\\Users\\Administrator\\AppData\\Roaming\\Telegram Desktop\\Telegram.exe,1\""
[HKEY_CLASSES_ROOT\tg\shell]
[HKEY_CLASSES_ROOT\tg\shell\open]
[HKEY_CLASSES_ROOT\tg\shell\open\command]
@="\"C:\\Users\\Administrator\\AppData\\Roaming\\Telegram Desktop\\Telegram.exe\" -workdir \"C:/Users/Administrator/AppData/Roaming/Telegram Desktop/\" -- \"%1\""
[HKEY_CURRENT_USER\SOFTWARE\Classes\tg]
"URL Protocol"=""
@="URL:Telegram Link"
[HKEY_CURRENT_USER\SOFTWARE\Classes\tg\DefaultIcon]
@="\"C:\\Users\\Administrator\\AppData\\Roaming\\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]
@="\"C:\\Users\\Administrator\\AppData\\Roaming\\Telegram Desktop\\Telegram.exe\" -workdir \"C:/Users/Administrator/AppData/Roaming/Telegram Desktop/\" -- \"%1\""
上一篇:
各大品牌手机功能代码集合下一篇:
苹果联通开始volte 高清语音通话