MagiskHidePropsConf/customize.sh

35 lines
1.1 KiB
Bash
Raw Normal View History

2020-01-10 18:45:27 +00:00
##########################################################################################
# Installation variables and functions for the Magisk module "MagiskHide Props Config"
# Copyright (c) 2018-2020 Didgeridoohan @ XDA Developers.
# Licence: MIT
##########################################################################################
# Load functions and variables
INSTFN=true
. $MODPATH/common/util_functions.sh
# Print module info
2020-01-17 08:44:46 +00:00
ui_print ""
ui_print "************************"
2020-01-10 18:45:27 +00:00
ui_print " Installing $MODVERSION "
2020-01-17 08:44:46 +00:00
ui_print "************************"
ui_print ""
2020-01-10 18:45:27 +00:00
2020-01-17 08:44:46 +00:00
# Create module directory
2020-01-10 18:45:27 +00:00
mkdir -pv $MHPCPATH
# Start module installation log
echo "***************************************************" > $LOGFILE 2>&1
echo "********* MagiskHide Props Config $MODVERSION ********" >> $LOGFILE 2>&1
echo "***************** By Didgeridoohan ***************" >> $LOGFILE 2>&1
echo "***************************************************" >> $LOGFILE 2>&1
log_handler "Starting module installation script"
# Module script installation
script_install
2020-01-17 08:44:46 +00:00
# Permission
set_perm $MODPATH/system/$BIN/props 0 0 0755
# Remove unused files
rm -f $MODPATH/LICENSE