修改EULA和Privacy Policy的启用位置

pull/1208/head
zhangxinhui02 2025-08-19 23:06:20 +08:00
parent ae7eab0aa8
commit 8b315fcfa2
No known key found for this signature in database
GPG Key ID: 22C23383864A313F
2 changed files with 11 additions and 11 deletions

View File

@ -1,8 +1,8 @@
# 检查EULA和PRIVACY
{{- if not .Values.core.EULA_AGREE }}
{{- fail "You must accept the EULA by setting 'core.EULA_AGREE: true'. EULA: https://github.com/MaiM-with-u/MaiBot/blob/main/EULA.md" }}
{{- if not .Values.EULA_AGREE }}
{{- fail "You must accept the EULA by setting 'EULA_AGREE: true'. EULA: https://github.com/MaiM-with-u/MaiBot/blob/main/EULA.md" }}
{{- end }}
{{- if not .Values.core.PRIVACY_AGREE }}
{{- fail "You must accept the Privacy Policy by setting 'core.PRIVACY_AGREE: true'. Privacy Policy: https://github.com/MaiM-with-u/MaiBot/blob/main/PRIVACY.md" }}
{{- if not .Values.PRIVACY_AGREE }}
{{- fail "You must accept the Privacy Policy by setting 'PRIVACY_AGREE: true'. Privacy Policy: https://github.com/MaiM-with-u/MaiBot/blob/main/PRIVACY.md" }}
{{- end }}

View File

@ -1,3 +1,10 @@
# 只有同意了EULA和PRIVACY协议才可以部署麦麦
# 配置以下的选项为true表示你同意了EULA和PRIVACY条款
# https://github.com/MaiM-with-u/MaiBot/blob/main/EULA.md
# https://github.com/MaiM-with-u/MaiBot/blob/main/PRIVACY.md
EULA_AGREE: false
PRIVACY_AGREE: false
# 麦麦Adapter的部署配置
adapter:
@ -36,13 +43,6 @@ adapter:
# 麦麦本体的部署配置
core:
# 只有同意了EULA和PRIVACY协议才可以部署麦麦
# 配置以下的选项为true表示你同意了EULA和PRIVACY条款
# https://github.com/MaiM-with-u/MaiBot/blob/main/EULA.md
# https://github.com/MaiM-with-u/MaiBot/blob/main/PRIVACY.md
EULA_AGREE: false
PRIVACY_AGREE: false
image:
repository: sengokucola/maibot
tag: main-d919c34