Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
chore: web Browser plugins support the chrome Store (#362)
Gao2bbf679712ed
diff --git a/project/web/src/store/plugin/components/PluginDownloadContent.tsx b/project/web/src/store/plugin/components/PluginDownloadContent.tsxindex fee6fa43..a919c047 100644--- a/project/web/src/store/plugin/components/PluginDownloadContent.tsx+++ b/project/web/src/store/plugin/components/PluginDownloadContent.tsx@@ -96,16 +96,16 @@ export function PluginDownloadContent({{t('header.downloadDescription')}</Paragraph><Space direction="vertical" size="middle" style={{ width: '100%' }}>- {/* <Button */}- {/* type="primary" */}- {/* size="large" */}- {/* icon={<ChromeOutlined />} */}- {/* href={PLUGIN_DOWNLOAD_LINKS.chrome} */}- {/* target="_blank" */}- {/* block */}- {/* > */}- {/* {t('header.chromeWebStore')} */}- {/* </Button> */}+ <Button+ type="primary"+ size="large"+ icon={<ChromeOutlined />}+ href={PLUGIN_DOWNLOAD_LINKS.chrome}+ target="_blank"+ block+ >+ {t('header.chromeWebStore')}+ </Button><Buttonsize="large"icon={<GithubOutlined />}diff --git a/project/web/src/store/plugin/constants.ts b/project/web/src/store/plugin/constants.tsindex c91ec2f9..1a472516 100644--- a/project/web/src/store/plugin/constants.ts+++ b/project/web/src/store/plugin/constants.ts@@ -11,7 +11,7 @@ export const DEFAULT_POLLING_INTERVAL = 2000* 插件下载链接配置*/export const PLUGIN_DOWNLOAD_LINKS = {- chrome: 'https://chromewebstore.google.com/detail/aitoearn',+ chrome: 'https://chromewebstore.google.com/detail/aitoearn-extension/hnmocdhmnfgcjnedmdgfefcobideaeja',github: 'https://github.com/yikart/AiToEarn/releases/download/v1.4.0/aitoearn-extension.zip',} as const