diff --git a/resources/cherry-studio/license.html b/resources/cherry-studio/license.html new file mode 100644 index 00000000..e569e14e --- /dev/null +++ b/resources/cherry-studio/license.html @@ -0,0 +1,82 @@ + + + + + + CherryStudio 用户协议-ZH/EN + + + +
+

Cherry Studio 用户协议

+ +
+

许可协议

+

本软件采用 Apache License 2.0 许可。除 Apache License 2.0 规定的条款外,您在使用 Cherry Studio 时还应遵守以下附加条款:

+ +

一. 商用许可

+
    +
  1. 免费商用:用户在不修改代码的情况下,可以免费用于商业目的。
  2. +
  3. 商业授权:如果您满足以下任意条件之一,需取得商业授权: +
      +
    1. 对本软件进行二次修改、开发(包括但不限于修改应用名称、logo、代码以及功能)。
    2. +
    3. 为企业客户提供多租户服务,且该服务支持 10 人或以上的使用。
    4. +
    5. 预装或集成到硬件设备或产品中进行捆绑销售。
    6. +
    7. 政府或教育机构的大规模采购项目,特别是涉及安全、数据隐私等敏感需求时。
    8. +
    +
  4. +
+ +

二. 贡献者协议

+
    +
  1. 许可调整:生产者有权根据需要对开源协议进行调整,使其更加严格或宽松。
  2. +
  3. 商业用途:您贡献的代码可能会被用于商业用途,包括但不限于云业务运营。
  4. +
+ +

三. 其他条款

+
    +
  1. 本协议条款的解释权归 Cherry Studio 开发者所有。
  2. +
  3. 本协议可能根据实际情况进行更新,更新时将通过本软件通知用户。
  4. +
+ +

如有任何问题或需申请商业授权,请联系 Cherry Studio 开发团队。

+

除上述特定条件外,其他所有权利和限制均遵循 Apache License 2.0。有关 Apache License 2.0 的详细信息,请访问 http://www.apache.org/licenses/LICENSE-2.0

+
+ +

Cherry Studio User Agreement

+ +
+

License Agreement

+

This software is licensed under the Apache License 2.0. In addition to the terms of the Apache License 2.0, the following additional terms apply to the use of Cherry Studio:

+ +

I. Commercial Use License

+
    +
  1. Free Commercial Use: Users can use the software for commercial purposes without modifying the code.
  2. +
  3. Commercial License Required: A commercial license is required if any of the following conditions are met: +
      +
    1. You modify, develop, or alter the software, including but not limited to changes to the application name, logo, code, or functionality.
    2. +
    3. You provide multi-tenant services to enterprise customers with 10 or more users.
    4. +
    5. You pre-install or integrate the software into hardware devices or products and bundle it for sale.
    6. +
    7. You are engaging in large-scale procurement for government or educational institutions, especially involving security, data privacy, or other sensitive requirements.
    8. +
    +
  4. +
+ +

II. Contributor Agreement

+
    +
  1. License Adjustment: The producer reserves the right to adjust the open-source license as needed, making it stricter or more lenient.
  2. +
  3. Commercial Use: Any code you contribute may be used for commercial purposes, including but not limited to cloud business operations.
  4. +
+ +

III. Other Terms

+
    +
  1. The interpretation of these terms is subject to the discretion of Cherry Studio developers.
  2. +
  3. These terms may be updated, and users will be notified through the software when changes occur.
  4. +
+ +

For any questions or to request a commercial license, please contact the Cherry Studio development team.

+

Apart from the specific conditions mentioned above, all other rights and restrictions follow the Apache License 2.0. Detailed information about the Apache License 2.0 can be found at http://www.apache.org/licenses/LICENSE-2.0.

+
+
+ + diff --git a/src/renderer/src/pages/settings/AboutSettings.tsx b/src/renderer/src/pages/settings/AboutSettings.tsx index f7f64bae..46f0cb6e 100644 --- a/src/renderer/src/pages/settings/AboutSettings.tsx +++ b/src/renderer/src/pages/settings/AboutSettings.tsx @@ -51,10 +51,11 @@ const AboutSettings: FC = () => { onOpenWebsite(url) } - const showLicense = () => { + const showLicense = async () => { + const { appPath } = await window.api.getAppInfo() MinApp.start({ - name: t('settings.about.releases.title'), - url: 'https://raw.githubusercontent.com/kangfenmao/cherry-studio/main/LICENSE', + name: t('settings.about.license.title'), + url: `file://${appPath}/resources/cherry-studio/license.html`, logo: AppLogo }) }