diff --git a/entrypoint.sh b/entrypoint.sh index 469743a..d994cf8 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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 \ No newline at end of file +qq --no-sandbox -q $ACCOUNT