This commit is contained in:
YAWAsau
2021-12-08 21:02:50 +08:00
parent 54c2c8a774
commit 0dbda7f78e
2 changed files with 1 additions and 2 deletions

View File

@@ -1,9 +1,7 @@
MODDIR="${0%/*}"
tools_path="$MODDIR/tools"
bin_path="$tools_path/bin"
script_path="$tools_path/script"
[[ ! -d $tools_path ]] && echo "$tools_path目錄遺失" && exit 1
[[ ! -d $script_path ]] && echo "$script_path目錄遺失" && exit 1
. "$bin_path/bin.sh"
find "$MODDIR" -maxdepth 2 -type d | sort | while read; do
if [[ -f $REPLY/app_details ]]; then