Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install.sh #96

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ function install_liteloader() {
echo "正在恢复插件数据..."
echo "PS:由于macOS限制,对Sandbox目录操作预计耗时数分钟左右"
fi
$sudo_cmd cp -r "$ll_path/LiteLoader_bak/plugins" "$ll_path/LiteLoader/"
$sudo_cmd rsync -a --progress "$ll_path/LiteLoader_bak/plugins" "$ll_path/LiteLoader/" | grep -E '^[0-9]+%|^ '
echo "已将 LiteLoader_bak 中的旧插件复制到新的 LiteLoader 目录"
fi

if [ -d "$ll_path/LiteLoader_bak/data" ]; then
$sudo_cmd cp -r "$ll_path/LiteLoader_bak/data" "$ll_path/LiteLoader/"
$sudo_cmd rsync -a --progress "$ll_path/LiteLoader_bak/data" "$ll_path/LiteLoader/" | grep -E '^[0-9]+%|^ '
echo "已将 LiteLoader_bak 中的数据文件复制到新的 LiteLoader 目录"
fi

Expand Down