-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
40 lines (33 loc) · 761 Bytes
/
install.sh
File metadata and controls
40 lines (33 loc) · 761 Bytes
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
40
SKIPMOUNT=true
PROPFILE=false
POSTFSDATA=false
LATESTARTSERVICE=true
REPLACE_EXAMPLE="
/system/app/Youtube
/system/priv-app/SystemUI
/system/priv-app/Settings
/system/framework
"
REPLACE="
"
print_modname() {
ui_print ""
ui_print ""
ui_print "- DynamicPropGenie"
ui_print "- by Ayu Kashyap 😎"
ui_print ""
ui_print ""
}
on_install() {
ui_print "- Extracting module files"
unzip -o "$ZIPFILE" -d $MODPATH >&2
}
set_permissions() {
# Set default permissions recursively
set_perm_recursive $MODPATH 0 0 0755 0644
# Set executable permissions for your scripts
set_perm $MODPATH/service.sh 0 0 0755
set_perm $MODPATH/post-fs-data.sh 0 0 0755
# Set readable permissions for your data file
set_perm $MODPATH/data.prop 0 0 0644
}