Skip to content

Commit

Permalink
update customize.sh
Browse files Browse the repository at this point in the history
Signed-off-by: yanbuyu <yanbuyuby@163.com>
  • Loading branch information
yanbuyu committed Feb 11, 2022
1 parent f123793 commit e66083d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ create_props(){
}

# Mount partitions
mount_partitions
#mount_partitions

#额外挂载
if [ -d /dev/block/mapper ]; then
Expand All @@ -61,8 +61,8 @@ mount -o ro -t auto /system_ext 2>/dev/null;
mkdir -p $TMPDIR
unzip -o "$ZIPFILE" module.prop module_pro.prop post-fs-data.sh "props/*" "release/*" customize.sh "uninstall.sh" 'scripts/*' -d $TMPDIR >&2

log=$(cat $TMPDIR/release/changelog.md | tr -s "\n" "\n")
ui_print "$log"
#log=$(cat $TMPDIR/release/changelog.md | tr -s "\n" "\n")
#ui_print "$log"
ui_print " "

#加载核心
Expand All @@ -85,7 +85,7 @@ cp -af $TMPDIR/uninstall.sh $MODPATH/uninstall.sh
sed -i "s/REPLACE_SDK/$SDK/g" $MODPATH/post-fs-data.sh

##取消挂载
$BOOTMODE || recovery_cleanup
#$BOOTMODE || recovery_cleanup
umount product 2>/dev/null;
umount system_ext 2>/dev/null;
[[ -f $TMPDIR ]] && rm -rf $TMPDIR

0 comments on commit e66083d

Please sign in to comment.