mirror of
https://github.com/YuleBest/LuminPro.git
synced 2026-12-04 00:54:42 +08:00
Add files via upload
This commit is contained in:
1 parent
537d98edf5
commit
55f584b16e
1 file changed
+1
-11
+1
-11
@@ -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"
|
||||
Reference in new issue
Block a user