Skip to content

Commit 85e9327

Browse files
committed
Bump version to 1.2
1 parent 38f19cf commit 85e9327

File tree

5 files changed

+44
-17
lines changed

5 files changed

+44
-17
lines changed

changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## v1.2 [ Release | 20240506 ]
2+
- Added Support for Unified Hosts + fakenews + gambling.
3+
### Below are the currently supported hosts:
4+
- Unified Hosts.
5+
- Unified hosts + fakenews + gambling + social.
6+
- Unified hosts + fakenews + gambling + porn + social.
7+
- more will be added soon...
8+
19
## v1.1 [ Release | 20240506 ]
210
- Simplified the main script logic.
311
- Made a separate dir for the host installer scripts.

customize.sh

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,38 @@ install_hosts() {
77
. $MODPATH/addon/install.sh
88
ui_print " Install Unified Hosts (UH)?"
99
ui_print " "
10-
ui_print " Vol+ = Yes"
11-
ui_print " Vol- = No"
10+
ui_print " Vol+ = Select"
11+
ui_print " Vol- = Change"
1212
ui_print " "
1313
if chooseport; then
1414
. $MODPATH/host-installer/uh.sh
1515
else
16-
ui_print " Install UH + fakenews + gambling + social ?"
16+
ui_print " Install UH + fakenews + gambling?"
1717
ui_print " "
18-
ui_print " Vol+ = Yes"
19-
ui_print " Vol- = No"
18+
ui_print " Vol+ = Select"
19+
ui_print " Vol- = Change"
2020
ui_print " "
2121
if chooseport; then
22-
. $MODPATH/host-installer/uhfgs.sh
22+
. $MODPATH/host-installer/uhfg.sh
2323
else
24-
ui_print " Install Unified hosts + fakenews + gambling + porn + social?"
24+
ui_print " Install UH + fakenews + gambling + social?"
2525
ui_print " "
26-
ui_print " Vol+ = Yes"
27-
ui_print " Vol- = No"
26+
ui_print " Vol+ = Select"
27+
ui_print " Vol- = Change"
2828
ui_print " "
2929
if chooseport; then
30-
. $MODPATH/host-installer/uhfgps.sh
30+
. $MODPATH/host-installer/uhfgs.sh
3131
else
32-
ui_print "- Exiting"
32+
ui_print " Install UH + fakenews + gambling + porn + social?"
33+
ui_print " "
34+
ui_print " Vol+ = Select"
35+
ui_print " Vol- = Change"
36+
ui_print " "
37+
if chooseport; then
38+
. $MODPATH/host-installer/uhfgps.sh
39+
else
40+
ui_print "- Exiting"
41+
fi
3342
fi
3443
fi
3544
fi
@@ -51,7 +60,7 @@ cleanup() {
5160
run_install() {
5261
unzip -o "$ZIPFILE" -x 'META-INF/*' -d $MODPATH >&2
5362
ui_print " "
54-
ui_print "- Installing & patching hosts"
63+
ui_print "- Installing hosts"
5564
install_hosts
5665
patch_hosts
5766
ui_print " "

host-installer/uhfg.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
ui_print "- Unified Hosts + fakenews + gambling Selected"
2+
HOSTS_URL="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts"
3+
GIT_URL="https://github.com/StevenBlack/hosts"
4+
ui_print "- Downloading latest hosts file from $GIT_URL"
5+
curl -o $MODPATH/hosts $HOSTS_URL
6+
if [ $? -ne 0 ]; then
7+
ui_print "Error: Failed to download hosts file."
8+
exit 1
9+
fi

module.prop

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
id=systemless_adblocker
22
name=Systemless Adblocker - Ultimate
3-
version=1.1
4-
versionCode=16
3+
version=1.2
4+
versionCode=17
55
author=burhanverse
66
description=An efficient ad blocker based on @gloeyisk's systemless-host module with no user interface & the lastest hosts from github@StevenBlack
7+
updateJson=https://raw.githubusercontent.com/Burhanverse/systemless-adblocker/main/update.json

update.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"version": 1.1,
3-
"versionCode": 16,
4-
"zipUrl": https://github.com/Burhanverse/systemless-adblocker/releases/download/1.1/Systemless_Adblocker-Ult_V1.1.zip,
2+
"version": 1.0,
3+
"versionCode": 15,
4+
"zipUrl": https://github.com/Burhanverse/systemless-adblocker/releases/download/1.2/Systemless_Adblocker-Ult_V1.2.zip,
55
"changelog": https://github.com/Burhanverse/systemless-adblocker/blob/main/changelog.md
66
}

0 commit comments

Comments
 (0)