Skip to content

添加一个技术架构图和支持自定义的tmux配置文件 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 版的基础上,
Expand Down
17 changes: 15 additions & 2 deletions paotin-start
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,20 @@ fi

export HOME=$(pwd)
export PATH=$HOME/bin:$PATH
export TMUXCMD="tmux -L MUD -f $HOME/tmux.conf"

test -f .bash_profile || ln -s profile.sh .bash_profile
TMUXCONFPATH="$HOME/var/tmux.conf"
if [ ! -f $TMUXCONFPATH ]; then
TMUXCONFPATH="$HOME/tmux.conf"
fi

export TMUXCMD="tmux -L MUD -f $TMUXCONFPATH"

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