File tree Expand file tree Collapse file tree 10 files changed +17
-11
lines changed
Expand file tree Collapse file tree 10 files changed +17
-11
lines changed Original file line number Diff line number Diff line change 22Telegram:
33https://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
Original file line number Diff line number Diff line change 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
69install_hosts () {
710 . $MODPATH /addon/install.sh
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ ui_print "- Unified Hosts Selected"
22HOSTS_URL=" https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts"
33GIT_URL=" https://github.com/StevenBlack/hosts"
44ui_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
66if [ $? -ne 0 ]; then
77 ui_print " Error: Failed to download hosts file."
88 exit 1
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ ui_print "- Unified Hosts + fakenews + gambling Selected"
22HOSTS_URL=" https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts"
33GIT_URL=" https://github.com/StevenBlack/hosts"
44ui_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
66if [ $? -ne 0 ]; then
77 ui_print " Error: Failed to download hosts file."
88 exit 1
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ ui_print "- Unified Hosts + fakenews + gambling + porn Selected"
22HOSTS_URL=" https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts"
33GIT_URL=" https://github.com/StevenBlack/hosts"
44ui_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
66if [ $? -ne 0 ]; then
77 ui_print " Error: Failed to download hosts file."
88 exit 1
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ ui_print "- Unified hosts + fakenews + gambling + porn + social Selected"
22HOSTS_URL=" https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts"
33GIT_URL=" https://github.com/StevenBlack/hosts"
44ui_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
66if [ $? -ne 0 ]; then
77 ui_print " Error: Failed to download hosts file."
88 exit 1
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ ui_print "- Unified hosts + fakenews + gambling + social Selected"
22HOSTS_URL=" https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts"
33GIT_URL=" https://github.com/StevenBlack/hosts"
44ui_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
66if [ $? -ne 0 ]; then
77 ui_print " Error: Failed to download hosts file."
88 exit 1
Original file line number Diff line number Diff line change 11id=systemless_adblocker
22name=Systemless Adblocker
3- version=1.5
4- versionCode=105
3+ version=1.6
4+ versionCode=106
55author=burhanverse
66description=An efficient adblocker based out of @gloeyisk's systemless-host module with no user interface & the lastest hosts from github@StevenBlack
77updateJson=https://raw.githubusercontent.com/Burhanverse/systemless-adblocker/main/update.json
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments