Skip to content

Commit 297baad

Browse files
committed
Update
1 parent 5a5bf86 commit 297baad

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ android {
2121
targetSdkVersion 28
2222
versionCode Integer.parseInt(new java.text.SimpleDateFormat("yyMMddHH").format(new Date()))
2323
// versionCode 26021101
24-
versionName "1.4.5"
24+
versionName "1.4.6"
2525
}
2626
signingConfigs {
2727
release {

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ elif [ "${vv##*/}" == "Provision.apk" ];then
2323
fi
2424
elif [ "${vv##*/}" == "Joyose.apk" ];then
2525
if [ "$fix_joyose" == 1 ];then
26-
patgpu="$(Timkiem GPUTUNER_SWITCH $oi/smali/classes)"
27-
sed -i "`grep -nA2 GPUTUNER_SWITCH $patgpu | grep -m1 getString | cut -d- -f1`i\ const/4 v0, 0x1 \n return v0" $patgpu || about "Error: GPUTUNER_SWITCH"
28-
sed -i "`grep -nA2 SUPPORT_UGD $patgpu | grep -m1 getString | cut -d- -f1`i\ const/4 v0, 0x1 \n return v0" $patgpu || about "Error: SUPPORT_UGD"
29-
#Thayvc -v '.method public run()V' $(Timkiem "job exist, sync local" $oi/smali)
26+
patgpu="$(Timkiem GPUTUNER_SWITCH $oi/smali/classes)"
27+
if [ "$patgpu" ]; then
28+
toybox sed -i "`grep -nA2 GPUTUNER_SWITCH $patgpu | grep -m1 getString | cut -d- -f1`i\ const/4 v0, 0x1 \n return v0" $patgpu || about "Error: GPUTUNER_SWITCH"
29+
toybox sed -i "`grep -nA2 SUPPORT_UGD $patgpu | grep -m1 getString | cut -d- -f1`i\ const/4 v0, 0x1 \n return v0" $patgpu || about "Error: SUPPORT_UGD"
30+
#Thayvc -v '.method public run()V' $(Timkiem "job exist, sync local" $oi/smali)
31+
fi
3032
fi
3133
elif [ "${vv##*/}" == "MIUIWeather.apk" ];then
3234
if [ "$fix_thoit" == 1 ];then
1.74 KB
Binary file not shown.

0 commit comments

Comments
 (0)