From 8e4767a326768d8ea6cbd29bb7782b16748854e2 Mon Sep 17 00:00:00 2001 From: ZyCromerZ <neetroid97@gmail.com> Date: Sat, 18 Jun 2022 10:02:48 +0700 Subject: [PATCH] update README.md Signed-off-by: ZyCromerZ <neetroid97@gmail.com> --- README-id.md | 24 ++++++++++++++++++------ README.md | 24 ++++++++++++++++++------ 2 files changed, 36 insertions(+), 12 deletions(-) diff --git a/README-id.md b/README-id.md index 266ae56..f858f51 100644 --- a/README-id.md +++ b/README-id.md @@ -125,9 +125,21 @@ dan jangan sentuh / ubah file apapun di dalam folder <code>/data/adb/modules/(Id * zyc_mc * untuk mengubah frequensi CPU atau cek frequansi CPU -## Optional Config -* Path : /sdcard/sultan_pid.txt - * untuk mengubah mode sultan pid, list isinya - * n ato no ato disable : buat selalu disable sultan pid - * y ato yes ato enable : buat selalu enable sultan pid - * game packageid (like <code>com.miHoYo.GenshinImpact</code>) (sultan pid mode cuma enabled setlah app based config ini berjalan) \ No newline at end of file +## Just idk +``` +## Start End + +if [[ "$(cat /data/adb/modules/*/system/etc/ZyC-Core/configs/get_fps.conf)" == "0" ]];then + echo "1" > /data/adb/modules/*/system/etc/ZyC-Core/configs/get_fps.conf +else + echo "0" > /data/adb/modules/*/system/etc/ZyC-Core/configs/get_fps.conf +fi + +# Pause Resume + +if [[ "$(cat /data/adb/modules/*/system/etc/ZyC-Core/configs/get_fps_status.conf)" == "0" ]];then + echo "1" > /data/adb/modules/*/system/etc/ZyC-Core/configs/get_fps_status.conf +else + echo "0" > /data/adb/modules/*/system/etc/ZyC-Core/configs/get_fps_status.conf +fi +``` \ No newline at end of file diff --git a/README.md b/README.md index 049cb9f..a8126dc 100644 --- a/README.md +++ b/README.md @@ -125,9 +125,21 @@ and please dont touch / edit any files inside folder <code>/data/adb/modules/(Mo * zyc_mc * for change CPU frequency or check CPU frequency -## Optional Config -* Path : /sdcard/sultan_pid.txt - * for change sultan pid mode, list value - * n or no or disable : for always disable sultan pid - * y or yes or enable : for always enable sultan pid - * game packageid (like <code>com.miHoYo.GenshinImpact</code>) (sultan pid mode only enabled after app based this config running) \ No newline at end of file +## Just idk +``` +## Start End + +if [[ "$(cat /data/adb/modules/*/system/etc/ZyC-Core/configs/get_fps.conf)" == "0" ]];then + echo "1" > /data/adb/modules/*/system/etc/ZyC-Core/configs/get_fps.conf +else + echo "0" > /data/adb/modules/*/system/etc/ZyC-Core/configs/get_fps.conf +fi + +## Pause Resume + +if [[ "$(cat /data/adb/modules/*/system/etc/ZyC-Core/configs/get_fps_status.conf)" == "0" ]];then + echo "1" > /data/adb/modules/*/system/etc/ZyC-Core/configs/get_fps_status.conf +else + echo "0" > /data/adb/modules/*/system/etc/ZyC-Core/configs/get_fps_status.conf +fi +``` \ No newline at end of file -- GitLab