diff --git a/packages/shared/IpcChannel.ts b/packages/shared/IpcChannel.ts
index c5b7c6ec4e..6d597b893b 100644
--- a/packages/shared/IpcChannel.ts
+++ b/packages/shared/IpcChannel.ts
@@ -8,6 +8,7 @@ export enum IpcChannel {
App_ShowUpdateDialog = 'app:show-update-dialog',
App_CheckForUpdate = 'app:check-for-update',
App_Reload = 'app:reload',
+ App_Quit = 'app:quit',
App_Info = 'app:info',
App_Proxy = 'app:proxy',
App_SetLaunchToTray = 'app:set-launch-to-tray',
diff --git a/resources/cherry-studio/privacy-en.html b/resources/cherry-studio/privacy-en.html
new file mode 100644
index 0000000000..612f18a70f
--- /dev/null
+++ b/resources/cherry-studio/privacy-en.html
@@ -0,0 +1,252 @@
+
+
+
+
+
+
Privacy Policy
+
+
+ Welcome to Cherry Studio (hereinafter referred to as "the Software" or "we"). We highly value your privacy
+ protection. This Privacy Policy explains how we process and protect your personal information and data.
+ Please read and understand this policy carefully before using the Software:
+
+
+
1. Information We Collect
+
To optimize user experience and improve software quality, we may only collect the following anonymous,
+ non-personal information:
+
+ - Software version information
+ - Activity and usage frequency of software features
+ - Anonymous crash and error log information
+
+
The above information is completely anonymous, does not involve any personal identity data, and cannot be
+ linked to your personal information.
+
+
2. Information We Do Not Collect
+
To maximize the protection of your privacy and security, we explicitly commit that we:
+
+ - Will not collect, save, transmit, or process model service API Key information you enter into the
+ Software
+ - Will not collect, save, transmit, or process any conversation data generated during your use of the
+ Software, including but not limited to chat content, instruction information, knowledge base
+ information, vector data, and other custom content
+ - Will not collect, save, transmit, or process any sensitive information that can identify personal
+ identity
+
+
+
3. Data Interaction Description
+
+ The Software uses API Keys from third-party model service providers that you apply for and configure
+ yourself to complete model calls and conversation functions. The model services you use (such as large
+ models, API interfaces, etc.) are directly provided by third-party providers of your choice. We do not
+ intervene, monitor, or interfere with the data transmission process.
+
+
+ Data interactions between you and third-party model services are governed by the privacy policies and user
+ agreements of third-party service providers. We recommend that you fully understand the privacy terms of
+ relevant service providers before use.
+
+
+
4. Local Data Security Protection
+
The Software is a localized application, and all data is stored on your local device by default. We have
+ taken the following measures to ensure data security:
+
+ - Conversation records, configuration information, and other data are only saved on your local device
+ - Data import/export functions are provided to facilitate your independent management and backup of data
+
+ - Your local data will not be uploaded to any server or cloud storage
+
+
+
5. Third-Party Services
+
+ When using the Software, you may access third-party services (such as AI model APIs, translation services,
+ etc.). The use of these third-party services is governed by their respective terms of service and privacy
+ policies. We strongly recommend that you carefully read and understand the relevant terms before use.
+
+
+
6. User Rights
+
You have complete control over your data:
+
+ - You can view, modify, and delete all locally stored data at any time
+ - You can choose whether to enable specific features or services
+ - You can stop using the Software and delete all related data at any time
+
+
+
7. Children's Privacy Protection
+
The Software is not intended for minors under 18 years of age. If you are a minor, please use the Software
+ under the guidance of a guardian.
+
+
8. Privacy Policy Updates
+
+ We may update this Privacy Policy based on legal requirements or changes in product features. The updated
+ policy will be published in the Software and you will be notified before it takes effect. If you do not
+ agree with the updated terms, you can choose to stop using the Software.
+
+
+
9. Contact Us
+
If you have any questions, suggestions, or complaints about this Privacy Policy, please contact us through
+ the following methods:
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/cherry-studio/privacy-zh.html b/resources/cherry-studio/privacy-zh.html
new file mode 100644
index 0000000000..db4195f68c
--- /dev/null
+++ b/resources/cherry-studio/privacy-zh.html
@@ -0,0 +1,230 @@
+
+
+
+
+
+
隐私协议
+
+
+ 欢迎使用 Cherry Studio(以下简称"本软件"或"我们")。我们高度重视您的隐私保护,本隐私协议将说明我们如何处理与保护您的个人信息和数据。请在使用本软件前仔细阅读并理解本协议:
+
+
+
一、我们收集的信息范围
+
为了优化用户体验和提升软件质量,我们仅可能会匿名收集以下非个人化信息:
+
+ - 软件版本信息;
+ - 软件功能的活跃度、使用频次;
+ - 匿名的崩溃、错误日志信息;
+
+
上述信息完全匿名,不会涉及任何个人身份数据,也无法关联到您的个人信息。
+
+
二、我们不会收集的任何信息
+
为了最大限度保护您的隐私安全,我们明确承诺:
+
+ - 不会收集、保存、传输或处理您输入到本软件中的模型服务 API Key 信息;
+ - 不会收集、保存、传输或处理您在使用本软件过程中产生的任何对话数据,包括但不限于聊天内容、指令信息、知识库信息、向量数据及其他自定义内容;
+ - 不会收集、保存、传输或处理任何可识别个人身份的敏感信息。
+
+
+
三、数据交互说明
+
+ 本软件采用您自行申请并配置的第三方模型服务提供商的 API Key,以完成相关模型的调用与对话功能。您使用的模型服务(例如大模型、API 接口等)由您选择的第三方提供商直接提供,我们不会介入、监控或干扰数据传输过程。
+
+
+ 您与第三方模型服务之间的数据交互受第三方服务提供商的隐私政策和用户协议约束,我们建议您在使用前充分了解相关服务商的隐私条款。
+
+
+
四、本地数据的安全保护
+
本软件为本地化应用程序,所有数据默认存储在您的本地设备上。我们采取了以下措施保障数据安全:
+
+ - 对话记录、配置信息等数据仅保存在您的本地设备中;
+ - 提供数据导入/导出功能,方便您自主管理和备份数据;
+ - 不会将您的本地数据上传至任何服务器或云端存储。
+
+
+
五、第三方服务
+
+ 在使用本软件过程中,您可能会接入第三方服务(如 AI 模型 API、翻译服务等)。这些第三方服务的使用受其各自的服务条款和隐私政策约束。我们强烈建议您在使用前仔细阅读并理解相关条款。
+
+
+
六、用户权利
+
您对自己的数据拥有完全的控制权:
+
+ - 您可以随时查看、修改、删除本地存储的所有数据;
+ - 您可以选择是否启用特定功能或服务;
+ - 您可以随时停止使用本软件并删除所有相关数据。
+
+
+
七、儿童隐私保护
+
本软件不面向 18 岁以下的未成年人提供服务。如果您是未成年人,请在监护人的指导下使用本软件。
+
+
八、隐私政策的更新
+
+ 我们可能会根据法律法规要求或产品功能的变化更新本隐私协议。更新后的协议将在软件中发布,并在生效前通知您。如果您不同意更新后的条款,您可以选择停止使用本软件。
+
+
+
九、联系我们
+
如果您对本隐私协议有任何疑问、建议或投诉,请通过以下方式联系我们:
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/ipc.ts b/src/main/ipc.ts
index 8b22fee49c..7d8e968a9b 100644
--- a/src/main/ipc.ts
+++ b/src/main/ipc.ts
@@ -123,6 +123,7 @@ export function registerIpc(mainWindow: BrowserWindow, app: Electron.App) {
})
ipcMain.handle(IpcChannel.App_Reload, () => mainWindow.reload())
+ ipcMain.handle(IpcChannel.App_Quit, () => app.quit())
ipcMain.handle(IpcChannel.Open_Website, (_, url: string) => shell.openExternal(url))
// Update
diff --git a/src/preload/index.ts b/src/preload/index.ts
index 2244264753..f106bf260e 100644
--- a/src/preload/index.ts
+++ b/src/preload/index.ts
@@ -45,6 +45,7 @@ export function tracedInvoke(channel: string, spanContext: SpanContext | undefin
const api = {
getAppInfo: () => ipcRenderer.invoke(IpcChannel.App_Info),
reload: () => ipcRenderer.invoke(IpcChannel.App_Reload),
+ quit: () => ipcRenderer.invoke(IpcChannel.App_Quit),
setProxy: (proxy: string | undefined, bypassRules?: string) =>
ipcRenderer.invoke(IpcChannel.App_Proxy, proxy, bypassRules),
checkForUpdate: () => ipcRenderer.invoke(IpcChannel.App_CheckForUpdate),
diff --git a/src/renderer/src/components/Popups/PrivacyPopup.tsx b/src/renderer/src/components/Popups/PrivacyPopup.tsx
new file mode 100644
index 0000000000..1ec9639bfc
--- /dev/null
+++ b/src/renderer/src/components/Popups/PrivacyPopup.tsx
@@ -0,0 +1,137 @@
+import { TopView } from '@renderer/components/TopView'
+import { useTheme } from '@renderer/context/ThemeProvider'
+import { ThemeMode } from '@renderer/types'
+import { runAsyncFunction } from '@renderer/utils'
+import { Button, Modal } from 'antd'
+import { useEffect, useState } from 'react'
+import { useTranslation } from 'react-i18next'
+import styled from 'styled-components'
+
+const WebViewContainer = styled.div`
+ width: 100%;
+ height: 500px;
+ overflow: hidden;
+
+ webview {
+ width: 100%;
+ height: 100%;
+ border: none;
+ background: transparent;
+ }
+`
+
+interface ShowParams {
+ title?: string
+ showDeclineButton?: boolean
+}
+
+interface Props extends ShowParams {
+ resolve: (data: any) => void
+}
+
+const PopupContainer: React.FC