MagiskHidePropsConf/customize.sh

36 lines
1.2 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"
2021-09-04 11:11:35 +00:00
# Copyright (c) 2018-2021 Didgeridoohan @ XDA Developers.
2020-01-10 18:45:27 +00:00
# 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
2021-09-04 11:11:35 +00:00
log_print "- Starting module installation script"
2020-01-10 18:45:27 +00:00
# Module script installation
script_install
2020-01-17 08:44:46 +00:00
# Permission
2021-09-04 11:11:35 +00:00
log_print "- Setting permissions"
2020-01-17 08:44:46 +00:00
set_perm $MODPATH/system/$BIN/props 0 0 0755
2021-09-04 11:11:35 +00:00
log_print "- Module installation complete."