Merge branch 'MaiM-with-u:dev' into dev
This commit is contained in:
5
.github/pull_request_template.md
vendored
5
.github/pull_request_template.md
vendored
@@ -1,7 +1,6 @@
|
||||
<!-- 提交前必读 -->
|
||||
- 🔴**当前项目处于重构阶段(2025.3.14-)**
|
||||
- ✅ 接受:与main直接相关的Bug修复:提交到main-fix分支
|
||||
- ⚠️ 冻结:所有新功能开发和非紧急重构
|
||||
- ✅ 接受:与main直接相关的Bug修复:提交到dev分支
|
||||
- 新增功能类pr需要经过issue提前讨论,否则不会被合并
|
||||
|
||||
# 请填写以下内容
|
||||
(删除掉中括号内的空格,并替换为**小写的x**)
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# 麦麦!MaiCore-MaiMBot (编辑中)
|
||||
|
||||
## 新版0.6.0部署前先阅读:https://docs.mai-mai.org/manual/usage/mmc_q_a
|
||||
|
||||
<div align="center">
|
||||
|
||||

|
||||
@@ -65,7 +67,8 @@
|
||||
- [📚 核心Wiki文档](https://docs.mai-mai.org) - 项目最全面的文档中心,你可以了解麦麦有关的一切
|
||||
|
||||
### 最新版本部署教程(MaiCore版本)
|
||||
- [🚀 最新版本部署教程](https://docs.mai-mai.org/manual/deployment/refactor_deploy.html) - 基于MaiCore的新版本部署方式(与旧版本不兼容)
|
||||
- [🚀 最新版本部署教程](https://docs.mai-mai.org/manual/deployment/mmc_deploy.html) - 基于MaiCore的新版本部署方式(与旧版本不兼容)
|
||||
|
||||
|
||||
## 🎯 功能介绍
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@ services:
|
||||
- maim_bot
|
||||
core:
|
||||
container_name: maim-bot-core
|
||||
image: sengokucola/maimbot:refactor
|
||||
# image: infinitycat/maimbot:refactor
|
||||
image: sengokucola/maimbot:main
|
||||
# image: infinitycat/maimbot:main
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
# - EULA_AGREE=35362b6ea30f12891d46ef545122e84a # 同意EULA
|
||||
|
||||
@@ -369,7 +369,28 @@ run_installation() {
|
||||
|
||||
# 选择分支
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user