forked from iamlooper/Android-Enhancer-Module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustomize.sh
39 lines (30 loc) · 751 Bytes
/
customize.sh
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
37
38
39
##############
# Config Vars
##############
# Set this to true if you don't want to mount the system folder
SKIPMOUNT=false
# Set this to true if you want to debug the installation
DEBUG=true
###############
# Replace List
###############
# List all directories you want to directly replace in the system
# Construct your list in the following example format
REPLACE_EXAMPLE="/system/app/Youtube
/system/priv-app/SystemUI
/system/priv-app/Settings
/system/framework"
# Construct your own list here
REPLACE=""
##############
# Permissions
##############
set_permissions() {
set_perm_recursive "$MODPATH/libs" 0 0 0777 0755
}
#######
# Main
#######
SKIPUNZIP=1
unzip -qjo "$ZIPFILE" 'common/functions.sh' -d $TMPDIR >&2
. $TMPDIR/functions.sh