1.注册表导入
- Windows Registry Editor Version 5.00
-
- [HKEY_CLASSES_ROOT\xmspace]
- @="无限星辰AI智能体"
- "URL Protocol"=""
-
- [HKEY_CLASSES_ROOT\xmspace\DefaultIcon]
- @="C:\\Program Files\\xmspace\\xmspace_ai.exe"
-
- [HKEY_CLASSES_ROOT\xmspace\shell]
- @=""
-
- [HKEY_CLASSES_ROOT\xmspace\shell\open]
- @=""
-
- [HKEY_CLASSES_ROOT\xmspace\shell\open\command]
- @=""C:\\Program Files\\xmspace\\xmspace_ai.exe" "
- //如果需要带参数,最后一行就换成这样=> @=""C:\\QQ\\Program Files\\xmspace\\xmspace_ai.exe" "%1""
复制代码
2.html的a标签
- <a href="xmspace://">打开xmspace</a>
- <!--如果想带参数-->
- <a href="xmspace:我是参数">带参数打开xmspace</a>
复制代码
3.打开网站测试,ok
|