Skip to content

Commit 7899e87

Browse files
committed
Module: Include curl binary and bump version to 1.6
1 parent 9b5a8f2 commit 7899e87

File tree

10 files changed

+17
-11
lines changed

10 files changed

+17
-11
lines changed

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
Telegram:
33
https://t.me/burhanverse
44

5+
### v1.6
6+
- Include and use curl binary within the module as in case curl is missing in your system.
7+
58
### v1.5
69
- Newly Added: Unified Hosts + fakenews + gambling + porn.
710

customize.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
#!/system/bin/sh
22

33
# Systemless Hosts by the open source loving GL-DP and all contributors;
4-
# Consolidating and extending hosts files from several well-curated sources
4+
# Consolidating and extending hosts files from several well-curated sources.
5+
#
6+
# set permissions to executables
7+
chmod 0755 $MODPATH/host-installer/curl
58

69
install_hosts() {
710
. $MODPATH/addon/install.sh

host-installer/curl

467 KB
Binary file not shown.

host-installer/uh.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ui_print "- Unified Hosts Selected"
22
HOSTS_URL="https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts"
33
GIT_URL="https://github.com/StevenBlack/hosts"
44
ui_print "- Downloading latest hosts file from $GIT_URL"
5-
curl -o $MODPATH/hosts $HOSTS_URL
5+
$MODPATH/host-installer/curl -o $MODPATH/hosts $HOSTS_URL
66
if [ $? -ne 0 ]; then
77
ui_print "Error: Failed to download hosts file."
88
exit 1

host-installer/uhfg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ui_print "- Unified Hosts + fakenews + gambling Selected"
22
HOSTS_URL="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts"
33
GIT_URL="https://github.com/StevenBlack/hosts"
44
ui_print "- Downloading latest hosts file from $GIT_URL"
5-
curl -o $MODPATH/hosts $HOSTS_URL
5+
$MODPATH/host-installer/curl -o $MODPATH/hosts $HOSTS_URL
66
if [ $? -ne 0 ]; then
77
ui_print "Error: Failed to download hosts file."
88
exit 1

host-installer/uhfgp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ui_print "- Unified Hosts + fakenews + gambling + porn Selected"
22
HOSTS_URL="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts"
33
GIT_URL="https://github.com/StevenBlack/hosts"
44
ui_print "- Downloading latest hosts file from $GIT_URL"
5-
curl -o $MODPATH/hosts $HOSTS_URL
5+
$MODPATH/host-installer/curl -o $MODPATH/hosts $HOSTS_URL
66
if [ $? -ne 0 ]; then
77
ui_print "Error: Failed to download hosts file."
88
exit 1

host-installer/uhfgps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ui_print "- Unified hosts + fakenews + gambling + porn + social Selected"
22
HOSTS_URL="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts"
33
GIT_URL="https://github.com/StevenBlack/hosts"
44
ui_print "- Downloading latest hosts file from $GIT_URL"
5-
curl -o $MODPATH/hosts $HOSTS_URL
5+
$MODPATH/host-installer/curl -o $MODPATH/hosts $HOSTS_URL
66
if [ $? -ne 0 ]; then
77
ui_print "Error: Failed to download hosts file."
88
exit 1

host-installer/uhfgs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ui_print "- Unified hosts + fakenews + gambling + social Selected"
22
HOSTS_URL="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts"
33
GIT_URL="https://github.com/StevenBlack/hosts"
44
ui_print "- Downloading latest hosts file from $GIT_URL"
5-
curl -o $MODPATH/hosts $HOSTS_URL
5+
$MODPATH/host-installer/curl -o $MODPATH/hosts $HOSTS_URL
66
if [ $? -ne 0 ]; then
77
ui_print "Error: Failed to download hosts file."
88
exit 1

module.prop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
id=systemless_adblocker
22
name=Systemless Adblocker
3-
version=1.5
4-
versionCode=105
3+
version=1.6
4+
versionCode=106
55
author=burhanverse
66
description=An efficient adblocker based out of @gloeyisk's systemless-host module with no user interface & the lastest hosts from github@StevenBlack
77
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.5",
3-
"versionCode": 105,
4-
"zipUrl": "https://github.com/Burhanverse/systemless-adblocker/releases/download/1.5/Systemless_Adblocker_V1.5.zip",
2+
"version": "1.6",
3+
"versionCode": 106,
4+
"zipUrl": "https://github.com/Burhanverse/systemless-adblocker/releases/download/1.6/Systemless_Adblocker_V1.6.zip",
55
"changelog": "https://raw.githubusercontent.com/Burhanverse/systemless-adblocker/main/changelog.md"
66
}

0 commit comments

Comments
 (0)