Merge branch 'MaiM-with-u:dev' into dev

This commit is contained in:
UnCLAS-Prommer
2025-04-05 12:00:07 +08:00
committed by GitHub
4 changed files with 31 additions and 8 deletions

View File

@@ -1,7 +1,6 @@
<!-- 提交前必读 --> <!-- 提交前必读 -->
- 🔴**当前项目处于重构阶段2025.3.14-** - ✅ 接受与main直接相关的Bug修复提交到dev分支
- ✅ 接受与main直接相关的Bug修复提交到main-fix分支 - 新增功能类pr需要经过issue提前讨论否则不会被合并
- ⚠️ 冻结:所有新功能开发和非紧急重构
# 请填写以下内容 # 请填写以下内容
(删除掉中括号内的空格,并替换为**小写的x** (删除掉中括号内的空格,并替换为**小写的x**

View File

@@ -1,5 +1,7 @@
# 麦麦MaiCore-MaiMBot (编辑中) # 麦麦MaiCore-MaiMBot (编辑中)
## 新版0.6.0部署前先阅读https://docs.mai-mai.org/manual/usage/mmc_q_a
<div align="center"> <div align="center">
![Python Version](https://img.shields.io/badge/Python-3.9+-blue) ![Python Version](https://img.shields.io/badge/Python-3.9+-blue)
@@ -65,7 +67,8 @@
- [📚 核心Wiki文档](https://docs.mai-mai.org) - 项目最全面的文档中心,你可以了解麦麦有关的一切 - [📚 核心Wiki文档](https://docs.mai-mai.org) - 项目最全面的文档中心,你可以了解麦麦有关的一切
### 最新版本部署教程(MaiCore版本) ### 最新版本部署教程(MaiCore版本)
- [🚀 最新版本部署教程](https://docs.mai-mai.org/manual/deployment/refactor_deploy.html) - 基于MaiCore的新版本部署方式与旧版本不兼容 - [🚀 最新版本部署教程](https://docs.mai-mai.org/manual/deployment/mmc_deploy.html) - 基于MaiCore的新版本部署方式与旧版本不兼容
## 🎯 功能介绍 ## 🎯 功能介绍

View File

@@ -19,8 +19,8 @@ services:
- maim_bot - maim_bot
core: core:
container_name: maim-bot-core container_name: maim-bot-core
image: sengokucola/maimbot:refactor image: sengokucola/maimbot:main
# image: infinitycat/maimbot:refactor # image: infinitycat/maimbot:main
environment: environment:
- TZ=Asia/Shanghai - TZ=Asia/Shanghai
# - EULA_AGREE=35362b6ea30f12891d46ef545122e84a # 同意EULA # - EULA_AGREE=35362b6ea30f12891d46ef545122e84a # 同意EULA

View File

@@ -369,7 +369,28 @@ run_installation() {
# 选择分支 # 选择分支
choose_branch() { choose_branch() {
BRANCH=refactor BRANCH=$(whiptail --title "🔀 选择分支" --radiolist "请选择要安装的分支:" 15 60 4 \
"main" "稳定最新版(推荐)" ON \
"classical" "经典版" OFF \
"custom" "自定义分支" OFF 3>&1 1>&2 2>&3)
RETVAL=$?
if [ $RETVAL -ne 0 ]; then
whiptail --msgbox "操作取消!" 10 60
exit 1
fi
if [[ "$BRANCH" == "custom" ]]; then
BRANCH=$(whiptail --title "🔀 自定义分支" --inputbox "请输入自定义分支名称:" 10 60 "refactor" 3>&1 1>&2 2>&3)
RETVAL=$?
if [ $RETVAL -ne 0 ]; then
whiptail --msgbox "输入取消!" 10 60
exit 1
fi
if [[ -z "$BRANCH" ]]; then
whiptail --msgbox "🚫 分支名称不能为空!" 10 60
exit 1
fi
fi
} }
choose_branch choose_branch