Skip to content

Commit

Permalink
Merge pull request #3 from ianchb/mff-patch
Browse files Browse the repository at this point in the history
Solve conflicts with MIUI-Flash-Freely
  • Loading branch information
ianchb authored Feb 18, 2023
2 parents f784d10 + 929020f commit 7ced20d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id=MIUI_AOD_Freely
name=MIUI AOD Freely
version=v3.0.0120
versionCode=8
version=v3.1.0218
versionCode=9
author=siergtc
description=View https://github.com/ianchb/MIUI-AOD-Freely for more.
updateJson=https://update.ap.icu/maodf
10 changes: 8 additions & 2 deletions post-fs-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,11 @@ done
CHANGE=$MODDIR/system/$TARGET_PATH
mkdir -p $CHANGE
rm $CHANGE/*
cp -f $TARGET_PATH/* $CHANGE/
sed -i 's/"is_only_support_keycode_goto">true</"is_only_support_keycode_goto">false</g' $CHANGE/*.xml
if [ ! -f $MODDIR/../mff.marker ]; then
cp -f $TARGET_PATH/* $CHANGE/
sed -i 's/"is_only_support_keycode_goto">true</"is_only_support_keycode_goto">false</g' $CHANGE/*.xml
else
sed -i 's/"is_only_support_keycode_goto">true</"is_only_support_keycode_goto">false</g' $MODDIR/../MIUI_Flash_Freely/system/$TARGET_PATH/*.xml
cp -f $MODDIR/../MIUI_Flash_Freely/system/$TARGET_PATH/* $CHANGE/
fi
touch $MODDIR/../maodf.marker
2 changes: 2 additions & 0 deletions service.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
MODDIR=${0%/*}
rm -f $MODDIR/../maodf.marker

0 comments on commit 7ced20d

Please sign in to comment.