-
-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathcustomize.sh
More file actions
32 lines (29 loc) · 968 Bytes
/
customize.sh
File metadata and controls
32 lines (29 loc) · 968 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
#!/bin/sh
#
# Copyright (c) 2023 to present Androidacy and contributors. Names, logos, icons, and the Androidacy name are all trademarks of Androidacy and may not be used without license. See LICENSE for more information.
#
if [ -n "$MMM_EXT_SUPPORT" ]; then
ui_print "#!useExt"
mmm_exec() {
ui_print "$(echo "#!$@")"
}
else
mmm_exec() { true; }
abort "! This module need to be executed in Androidacy Module Manager"
exit 1
fi
ui_print "- Doing stuff"
ui_print "- Current state: LOADING"
mmm_exec showLoading
sleep 4
mmm_exec setLastLine "- Current state: LOADING AGAIN"
sleep 4
mmm_exec setLastLine "- Current state: LOADED"
mmm_exec hideLoading
ui_print "- Doing more stuff"
sleep 4
# You can even set youtube links as support links
# Note: Button only appear once install ended
mmm_exec setSupportLink "https://youtu.be/dQw4w9WgXcQ"
ui_print "- Modules installer can also set custom shortcut"
abort "! Check top right button to see where it goes"