请问Live Server怎么导入扩展呢
#2560
-
1.10.17.2版本,不小心把十周年UI删了,然后利用制作扩展+替换文件夹的方法无法导入扩展 |
Beta Was this translation helpful? Give feedback.
Answered by
rintim
May 20, 2025
Replies: 1 comment 2 replies
-
Live Server并不提供fs后端,故以此法启动的无名杀将作为纯网页版运行 由于无法将扩展内容写入文件,无名杀会将扩展数据存入IndexedDB/LocalStorage中,使得网页端可以借助浏览器的功能保存扩展,但代价是如果要替换扩展内容,则需要替换IndexedDB/LocalStorage中的文件内容,替换extension下的文件是无作用的 你可以通过启动 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
rintim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Live Server并不提供fs后端,故以此法启动的无名杀将作为纯网页版运行
由于无法将扩展内容写入文件,无名杀会将扩展数据存入IndexedDB/LocalStorage中,使得网页端可以借助浏览器的功能保存扩展,但代价是如果要替换扩展内容,则需要替换IndexedDB/LocalStorage中的文件内容,替换extension下的文件是无作用的
你可以通过启动
noname-server.js
(或直接运行noname-server.exe
)来启动带有fs通信的无名杀网页端,此时将如同正常的桌面端读取extension下的扩展