-
Notifications
You must be signed in to change notification settings - Fork 71
Feat: browser extensions #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
main/data/data.json
Outdated
"extensions": [ | ||
{ | ||
"title": "React Developer Tools", | ||
"name": "React Developer Tools", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name 和 title 都是一样的?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed. 我现在把 name 字段改成 id,会更合适。现在看来 title 和 name 有点重复了。
"link": "https://chrome.google.com/webstore/detail/octotree-github-code-tree/bkhaagjahfmjljalopjnoealnfndnagc", | ||
"icon": "https://img.alicdn.com/imgextra/i2/O1CN01z5X6661G0WUsozqTi_!!6000000000560-2-tps-128-128.png", | ||
"downloadUrl": "https://iceworks.oss-cn-hangzhou.aliyuncs.com/toolkit/packages/chrome-extensions/Octotree-GitHub-code-tree_v7.0.7.crx", | ||
"version": null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version null 那还需要这个字段吗
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
先留着,后面可能有用
|
||
const { extensionsInfo, installStatuses } = state; | ||
|
||
const INSTALL_EXTENSION_CHANNEL = 'install-browser-extension'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
常亮 直接放最上头
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done. 其他也改过来了
浏览器插件管理
Preview:

目前浏览器插件不能自动安装,只能用户手动安装。对于能访问应用商店的用户,则直接在应用商店安装插件:

对于不能访问应用商店的用户,则使用本地安装插件方式:
