From ac7d6932ad4f3b86787101863a29fca289b9380a Mon Sep 17 00:00:00 2001 From: Cao Liangcheng Date: Tue, 22 Nov 2022 15:51:57 +0800 Subject: [PATCH 1/3] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=20README.md,=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=80=E4=B8=AA=E6=8A=80=E6=9C=AF=E6=9E=B6?= =?UTF-8?q?=E6=9E=84=E5=9B=BE=E5=B8=AE=E5=8A=A9=E7=90=86=E8=A7=A3=20PaoTin?= =?UTF-8?q?++=20=E7=9A=84=E7=B3=BB=E7=BB=9F=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index b61f794c..826576a2 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,10 @@ PaoTin++ 不是一个成熟的机器人套件,并不计划提供一整套开 # 软件结构及亮点功能 +PaoTin++ 技术架构图: + +![PaoTin++ schema](https://user-images.githubusercontent.com/15100900/203256221-3bebce64-7376-4f30-8940-e3e149ba6720.jpg) + PaoTin++ 主要由以下四部分组成: * 一个 [TinTin++ 衍生品](https://github.com/mudclient/tintin/tree/beta-develop),它在 TinTin++ beta 版的基础上, From 55abb1a53e2afeaa6bda36e58b9dd3faa2ba8d7b Mon Sep 17 00:00:00 2001 From: def Date: Wed, 23 Nov 2022 15:02:22 +0800 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=20tmux.conf=20?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E9=87=8D=E5=AE=9A=E4=BD=8D=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=20=20=20=20=20=20=20=E6=90=9C=E7=B4=A2=E9=A1=BA=E5=BA=8F?= =?UTF-8?q?=EF=BC=9A1=E3=80=81$HOME/var/tmux.conf=EF=BC=9B2=E3=80=81$HOME/?= =?UTF-8?q?tmux.conf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- paotin-start | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/paotin-start b/paotin-start index 79bb0859..5ccb87cf 100755 --- a/paotin-start +++ b/paotin-start @@ -29,7 +29,13 @@ fi export HOME=$(pwd) export PATH=$HOME/bin:$PATH -export TMUXCMD="tmux -L MUD -f $HOME/tmux.conf" + +TMUXCONFPATH="$HOME/var/tmux.conf" +if [ ! -f $TMUXCONFPATH ]; then + TMUXCONFPATH="$HOME/tmux.conf" +fi + +export TMUXCMD="tmux -L MUD -f $TMUXCONFPATH" test -f .bash_profile || ln -s profile.sh .bash_profile exec bash -l start-ui From 1a7446d0e7171034bf223ba0f0010f089b49e69c Mon Sep 17 00:00:00 2001 From: def Date: Thu, 15 Dec 2022 15:39:51 +0800 Subject: [PATCH 3/3] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=20profile.sh=20?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E9=87=8D=E5=AE=9A=E4=BD=8D=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=20=20=20=20=20=20=20=E6=90=9C=E7=B4=A2=E9=A1=BA=E5=BA=8F?= =?UTF-8?q?=EF=BC=9A1=E3=80=81$HOME/var/profile.conf=EF=BC=9B2=E3=80=81$HO?= =?UTF-8?q?ME/profile.conf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- paotin-start | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/paotin-start b/paotin-start index 5ccb87cf..2c9faaac 100755 --- a/paotin-start +++ b/paotin-start @@ -37,5 +37,12 @@ fi export TMUXCMD="tmux -L MUD -f $TMUXCONFPATH" -test -f .bash_profile || ln -s profile.sh .bash_profile +BASHPROFILE="$HOME/var/profile.sh" +if [ ! -f $BASHPROFILE ]; then + BASHPROFILE="$HOME/profile.sh" +fi + +rm -f .bash_profile +ln -s $BASHPROFILE .bash_profile + exec bash -l start-ui