forked from Magisk-Modules-Repo/MagiskHidePropsConf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustomize.sh
More file actions
36 lines (29 loc) · 1.17 KB
/
Copy pathcustomize.sh
File metadata and controls
36 lines (29 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
##########################################################################################
# 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
ui_print ""
ui_print "************************"
ui_print " Installing $MODVERSION "
ui_print " By Didgeridoohan @ XDA "
ui_print "************************"
ui_print ""
# Create module directory
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
# Permission
set_perm $MODPATH/system/$BIN/props 0 0 0755
# Remove unused files
rm -f $MODPATH/LICENSE