Skip to content

Commit faeec51

Browse files
authored
Add files via upload
1 parent ba245b4 commit faeec51

File tree

4 files changed

+39
-25
lines changed

4 files changed

+39
-25
lines changed

StevenBlock.zip

2.76 MB
Binary file not shown.

customize.sh

Lines changed: 34 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,31 @@ interactive_menu() {
4141
ui_print ""
4242
ui_print "⚠️ Make sure the systemless hosts module is not installed when enabling this module. Also, remove modules such as Adaway and BindHosts, as they will conflict with this module."
4343
ui_print ""
44-
ui_print "❗ The most trouble-free and lightweight blocklist to use on your device is StevenBlack. If you experience issues with Energized Ultimate, use this one instead."
44+
ui_print "❗ The most trouble-free and lightweight blocklist to use on your device is StevenBlack. If you experience issues with other lists, use this one instead."
4545
ui_print ""
4646
ui_print "🗂️ Select your preferred hosts file:"
4747
ui_print ""
48-
ui_print "1️ Steven Black's List — Recommended, daily protection"
49-
ui_print "2️ Spark Protection — Lightweight, essential protection"
50-
ui_print "3️ Blu Protection — Balanced, extended protection"
51-
ui_print "4️ Ultimate Protection — Comprehensive, full protection"
52-
ui_print "5️ ❌ Exit Installation"
48+
ui_print "1️ ⭐ Steven Black's List — Main daily list"
49+
ui_print "2️ 🍃 Hagezi's Multi LIGHT — Basic protection"
50+
ui_print "3️ ⚖️ Hagezi's Multi NORMAL — All-round protection"
51+
ui_print "4️ 🛡️ Hagezi's Multi PRO — Extended protection"
52+
ui_print "5 💎 Hagezi's Multi PRO++ — Maximum protection"
53+
ui_print "6 🚀 Hagezi's Multi ULTIMATE — Aggressive protection"
54+
ui_print "7 ❌ Exit Installation"
5355
ui_print ""
5456
ui_print "🔼 Volume Up: Navigate | 🔽 Volume Down: Confirm"
5557
ui_print "==========================================="
5658
ui_print ""
5759

5860
print_current_selection() {
5961
case "$SELECTION" in
60-
1) ui_print "👉 Steven Black's List — Recommended, daily protection" ;;
61-
2) ui_print "👉 Spark Protection — Lightweight, essential protection" ;;
62-
3) ui_print "👉 Blu Protection — Balanced, extended protection" ;;
63-
4) ui_print "👉 Ultimate Protection — Comprehensive, full protection" ;;
64-
5) ui_print "👉 Selection: ❌ Exit Installation" ;;
62+
1) ui_print "👉 [Steven Black — Main Daily List]" ;;
63+
2) ui_print "👉 [Hagezi's LIGHT — Basic Protection]" ;;
64+
3) ui_print "👉 [Hagezi's NORMAL — All-round Protection]" ;;
65+
4) ui_print "👉 [Hagezi's PRO — Extended Protection]" ;;
66+
5) ui_print "👉 [Hagezi's PRO++ — Maximum Protection]" ;;
67+
6) ui_print "👉 [Hagezi's ULTIMATE — Aggressive Protection]" ;;
68+
7) ui_print "👉 [Exit Installation]" ;;
6569
esac
6670
}
6771

@@ -73,31 +77,41 @@ interactive_menu() {
7377

7478
if [ "$key_result" -eq 1 ]; then
7579
SELECTION=$((SELECTION + 1))
76-
[ "$SELECTION" -gt 5 ] && SELECTION=1
80+
[ "$SELECTION" -gt 7 ] && SELECTION=1
7781
print_current_selection
7882
elif [ "$key_result" -eq 0 ]; then
7983
case "$SELECTION" in
8084
1)
8185
SELECTED_HOSTS="stevenblack_hosts"
82-
SELECTED_NAME="Steven Black's List — Recommended, daily protection"
86+
SELECTED_NAME="Steven Black's List"
8387
break
8488
;;
8589
2)
86-
SELECTED_HOSTS="energized_spark"
87-
SELECTED_NAME="Spark Protection — Lightweight, essential protection"
90+
SELECTED_HOSTS="hagezi_light"
91+
SELECTED_NAME="Hagezi's Multi LIGHT"
8892
break
8993
;;
9094
3)
91-
SELECTED_HOSTS="energized_blu"
92-
SELECTED_NAME="Blu Protection — Balanced, extended protection"
95+
SELECTED_HOSTS="hagezi_normal"
96+
SELECTED_NAME="Hagezi's Multi NORMAL"
9397
break
9498
;;
9599
4)
96-
SELECTED_HOSTS="energized_ultimate"
97-
SELECTED_NAME="Ultimate Protection — Comprehensive, full protection"
100+
SELECTED_HOSTS="hagezi_pro"
101+
SELECTED_NAME="Hagezi's Multi PRO"
98102
break
99103
;;
100104
5)
105+
SELECTED_HOSTS="hagezi_pro_plus"
106+
SELECTED_NAME="Hagezi's Multi PRO++"
107+
break
108+
;;
109+
6)
110+
SELECTED_HOSTS="hagezi_ultimate"
111+
SELECTED_NAME="Hagezi's Multi ULTIMATE"
112+
break
113+
;;
114+
7)
101115
abort "🚫 Installation cancelled by user"
102116
;;
103117
esac
@@ -117,7 +131,7 @@ install_module() {
117131
echo "$SELECTED_HOSTS" > "$MODPATH/selected_hosts"
118132
echo "$SELECTED_NAME" > "$MODPATH/selected_name"
119133
ui_print "✅ Successfully installed: $SELECTED_NAME"
120-
rm -rf $MODPATH/hosts
134+
rm -rf "$MODPATH/hosts"
121135
}
122136

123137
main() {

module.prop

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
id=StevenBlock
22
name=StevenBlock | Anti-Malware & Ad Blocker
3-
version=v2.0.4
4-
versionCode=105
3+
version=v2.0.5
4+
versionCode=106
55
author=𝗛𝗼𝗹𝗶
6-
description=Advanced ad blocker with 4 protection levels. Interactive installation, DNS-level filtering.
6+
description=Advanced ad blocker with 6 protection levels. Interactive installation, DNS-level filtering.
77
updateJson=https://raw.githubusercontent.com/mikropsoft/StevenBlock/main/update.json

update.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"version": "v2.0.4",
3-
"versionCode": 105,
2+
"version": "v2.0.5",
3+
"versionCode": 106,
44
"zipUrl": "https://github.com/mikropsoft/StevenBlock/raw/main/StevenBlock.zip",
55
"changelog": "https://raw.githubusercontent.com/mikropsoft/StevenBlock/main/changelog.md"
66
}

0 commit comments

Comments
 (0)