Skip to content

Commit b09f81c

Browse files
committed
Update
1 parent 38de1cc commit b09f81c

3 files changed

Lines changed: 9 additions & 10 deletions

File tree

app/src/main/assets/module/ZADD/patch_rom/addon.prop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ id=patch_rom
44
name=Patch ROM
55
author=Kakathic
66
description=Quick ROM patch
7-
version=1.9
8-
versionCode=119
7+
version=2.0
8+
versionCode=120
99
root=false
1010

1111
# language
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11

2-
Update log: 1.9
2+
Update log:
33

4-
+ Remove Kaorios Tool Box
5-
6-
Update log: 1.8
7-
8-
+ Fix the settings error that causes the app to crash.
4+
2.0: Add some code validation commands
5+
1.9: Remove Kaorios Tool Box
6+
1.8: Fix the settings error that causes the app to crash

app/src/main/assets/module/ZADD/patch_rom/patch-rom.bash

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,9 @@ elif [ "${vv##*/}" == "MiuiSystemUI.apk" ];then
159159
elif [ "${vv##*/}" == "miui-framework.jar" ];then
160160
Thaythe com.iflytek.inputmethod.miui "$(glog ime_app)" "$(Timkiem com.iflytek.inputmethod.miui "$oi/smali")"
161161
if [ "$(gprop ro.miui.support_miui_ime_bottom "$psystem/build.prop")" != 1 ];then
162-
sprop "ro.miui.support_miui_ime_bottom" 1 "$psystem/build.prop"
163-
cp -rf "$MPAT/mod/GestureLineOverlay.apk" "$pproduct/overlay"
162+
echo "Add props to system: ro.miui.support_miui_ime_bottom=1"
163+
[ -f "$psystem/build.prop" ] && sprop "ro.miui.support_miui_ime_bottom" 1 "$psystem/build.prop"
164+
[ -d "$pproduct/overlay" ] && cp -rf "$MPAT/mod/GestureLineOverlay.apk" "$pproduct/overlay"
164165
fi
165166
elif [ "${vv##*/}" == "Settings.apk" ];then
166167
Thaythe com.iflytek.inputmethod.miui "$(glog ime_app)" "$(Timkiem com.iflytek.inputmethod.miui "$oi/smali" | sed '/MecBoardInputController/d')"

0 commit comments

Comments
 (0)