mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-18 22:06:41 +08:00
fix
This commit is contained in:
parent
57ec5e71ac
commit
045555c63d
@ -14,11 +14,9 @@ chech_quotes(){
|
||||
|
||||
# 安装 napcat
|
||||
if [ ! -f "napcat/napcat.mjs" ]; then
|
||||
rarch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/x64/)
|
||||
unzip -q NapCat.linux.${rarch}.zip
|
||||
mv NapCat.linux.${rarch}/config/* napcat/config/ && rmdir NapCat.linux.${rarch}/config
|
||||
mv NapCat.linux.${rarch}/* napcat/
|
||||
chmod +x napcat/napcat.sh
|
||||
unzip -q NapCat.Shell.zip
|
||||
mv NapCat.Shell/config/* napcat/config/ && rmdir NapCat.Shell/config
|
||||
mv NapCat.Shell/* napcat/
|
||||
fi
|
||||
|
||||
CONFIG_PATH=napcat/config/onebot11_$ACCOUNT.json
|
||||
@ -97,4 +95,4 @@ Xvfb :1 -screen 0 1080x760x16 +extension GLX +render &
|
||||
export FFMPEG_PATH=/usr/bin/ffmpeg
|
||||
export DISPLAY=:1
|
||||
cd ./napcat
|
||||
qq --no-sandbox -q $ACCOUNT
|
||||
qq --no-sandbox -q $ACCOUNT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user