Add files via upload

This commit is contained in:
YuleBest authored and GitHub committed 2025-02-10 04:13:51 +08:00 Unverified
1 parent 537d98edf5
commit 55f584b16e
1 file changed
+1 -11
+1 -11
View File
@@ -14,15 +14,5 @@ if [ ! -f $now_bri_file ] && [ ! -f $max_bri_file ]; then
error "系统文件不存在 $now_bri_file,您的设备不支持本模块"
fi
if [ -f "/sdcard/峰值亮度.txt" ]; then
max_bri_file="/sdcard/峰值亮度.txt"
fi
if [ ! -f $max_bri_file ]; then
echo "🤔 未找到记录峰值亮度的文件,你需要使用手动设定亮度模式"
echo "😃 请根据教程获取你手机的峰值亮度,然后在 /sdcard/峰值亮度.txt 里填写你手机的峰值亮度,再重新刷入哦"
touch /sdcard/峰值亮度.txt
abort ""
fi
echo "⚠️ 刷入过程中,手机屏幕可能会变亮,这是正常现象"
. "$MODPATH/script/setup.sh"