mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-19 22:52:10 +08:00
fix
This commit is contained in:
parent
63b0f4a1d6
commit
f2b78ebd36
@ -13,7 +13,7 @@ chech_quotes(){
|
||||
}
|
||||
|
||||
# 安装 napcat
|
||||
if [ ! -f "napcat/napcat.cjs" ]; then
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user