mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-20 23:22:08 +08:00
fix: inflating path
This commit is contained in:
parent
14f03a7454
commit
a41273336a
@ -18,7 +18,7 @@ if [ ! -f "$CONFIG_PATH" ]; then
|
|||||||
# 安装 napcat
|
# 安装 napcat
|
||||||
rarch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/x64/)
|
rarch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/x64/)
|
||||||
unzip NapCat.linux.${rarch}.zip -d .
|
unzip NapCat.linux.${rarch}.zip -d .
|
||||||
mv NapCat.linux.${rarch} napcat
|
mv NapCat.linux.${rarch}/* napcat/
|
||||||
chmod +x napcat/napcat.sh
|
chmod +x napcat/napcat.sh
|
||||||
|
|
||||||
if [ "$WEBUI_TOKEN" ]; then
|
if [ "$WEBUI_TOKEN" ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user