chore: way03

This commit is contained in:
手瓜一十雪 2024-07-19 11:33:18 +08:00 committed by GitHub
parent 37bdc4228d
commit a91708854c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ COPY NapCat.linux.arm64.zip NapCat.linux.x64.zip entrypoint.sh .
# 安装Linux QQ
RUN arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && \
curl -o linuxqq.deb https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.9_240606_${arch}_01.deb && \
curl -o linuxqq.deb https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.10_240715_${arch}_01.deb && \
dpkg -i --force-depends linuxqq.deb && rm linuxqq.deb && \
chmod +x entrypoint.sh && \
sed -i "1i\(async () => {await import('file:///usr/src/app/napcat//napcat/napcat.mjs');})();" /opt/QQ/resources/app/app_launcher/index.js && \