Skip to content

Commit

Permalink
Merge branch 'VIKINGYFY:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ysuolmai authored Jan 12, 2025
2 parents 0a159c0 + 35da3e0 commit d2331cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/Packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ UPDATE_PACKAGE() {
git clone --depth=1 --single-branch --branch $PKG_BRANCH "https://github.com/$PKG_REPO.git"

if [[ $PKG_SPECIAL == "pkg" ]]; then
find ./$REPO_NAME/ -maxdepth 3 -type d -name "*$PKG_NAME*" -exec cp -rf {} ./ \;
find ./$REPO_NAME/*/ -maxdepth 3 -type d -iname "*$PKG_NAME*" -prune -exec cp -rf {} ./ \;
rm -rf ./$REPO_NAME/
elif [[ $PKG_SPECIAL == "name" ]]; then
mv -f $REPO_NAME $PKG_NAME
Expand Down Expand Up @@ -78,4 +78,4 @@ UPDATE_VERSION() {

#UPDATE_VERSION "软件包名" "测试版,true,可选,默认为否"
UPDATE_VERSION "sing-box"
UPDATE_VERSION "tailscale"
UPDATE_VERSION "tailscale"

0 comments on commit d2331cd

Please sign in to comment.