diff --git a/plugins/alist/install.sh b/plugins/alist/install.sh index be75f6ac8..6209516b2 100755 --- a/plugins/alist/install.sh +++ b/plugins/alist/install.sh @@ -45,9 +45,11 @@ Install_App() fi mkdir -p $serverPath/alist - + cd $ALIST_DIR && tar -zxvf ${FILE_TGZ} -C $serverPath/alist echo "${VERSION}" > $serverPath/alist/version.pl + + cd $serverPath/alist && ./alist admin set admin cd ${rootPath} && python3 ${rootPath}/plugins/alist/index.py start cd ${rootPath} && python3 ${rootPath}/plugins/alist/index.py initd_install diff --git a/plugins/alist/js/alist.js b/plugins/alist/js/alist.js index e662a133d..8715b6a48 100755 --- a/plugins/alist/js/alist.js +++ b/plugins/alist/js/alist.js @@ -55,15 +55,11 @@ function alistPostCallbak(method, version, args,callback){ function alistReadme(){ - var cmd_01 = '/www/server/redis/bin/redis-cli --cluster create 127.0.0.1:6379 127.0.0.1:6380 127.0.0.1:6381 --cluster-replicas 0'; - var cmd_02 = '/www/server/redis/bin/redis-cli --cluster create 127.0.0.1:6379 127.0.0.1:6380 127.0.0.1:6381 127.0.0.1:6382 127.0.0.1:6383 127.0.0.1:6384 --cluster-replicas 1'; - + var readme = ''; $('.soft-man-con').html(readme);