Skip to content

Commit

Permalink
Merge pull request #5 from ianchb/maodf-patch
Browse files Browse the repository at this point in the history
Solve conflicts with MIUI-AOD-Freely
  • Loading branch information
ianchb authored Feb 18, 2023
2 parents 0e23996 + d09c0c6 commit fbde294
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_Flash_Freely
name=MIUI Flash Freely
version=v4.2.0120
versionCode=8
version=v4.3.0218
versionCode=9
author=siergtc
description=View https://github.com/ianchb/MIUI-Flash-Freely for more.
updateJson=https://update.ap.icu/mff
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/"support_ota_validate">true</"support_ota_validate">false</g' $CHANGE/*.xml
if [ ! -f $MODDIR/../maodf.marker ]; then
cp -f $TARGET_PATH/* $CHANGE/
sed -i 's/"support_ota_validate">true</"support_ota_validate">false</g' $CHANGE/*.xml
else
sed -i 's/"support_ota_validate">true</"support_ota_validate">false</g' $MODDIR/../MIUI_AOD_Freely/system/$TARGET_PATH/*.xml
cp -f $MODDIR/../MIUI_AOD_Freely/system/$TARGET_PATH/* $CHANGE/
fi
touch $MODDIR/../mff.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/../mff.marker

0 comments on commit fbde294

Please sign in to comment.