This commit is contained in:
Yawasau
2023-12-09 23:27:38 +08:00
parent 612f3d9480
commit 39a736c85e
3 changed files with 1713 additions and 136 deletions

View File

@@ -0,0 +1,8 @@
if [ -f "${0%/*}/tools/bin/tools.sh" ]; then
MODDIR="${0%/*}"
operate="Device_List"
. "${0%/*}/tools/bin/tools.sh" | tee "$MODDIR/log.txt"
else
[[ $(echo "${0%/*}" | grep -o 'bin.mt.plus/temp') != "" ]] && echo "你媽沒告訴你腳本要解壓縮嗎?傻逼玩兒" && exit 2
echo "${0%/*}/tools/bin/tools.sh遺失"
fi