Skip to content

Commit

Permalink
v.1.3.2
Browse files Browse the repository at this point in the history
- Fixed missing systemless hosts print.
  • Loading branch information
AdroitAdorKhan committed May 25, 2020
1 parent 62747a5 commit 1c597d7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<div align="center">
<!-- Version -->
<img src="https://img.shields.io/badge/Version-1.3.1-blue.svg?longCache=true&style=flat-square"
<img src="https://img.shields.io/badge/Version-1.3.2-blue.svg?longCache=true&style=flat-square"
alt="Version" />
<!-- Magisk -->
<img src="https://img.shields.io/badge/Magisk-20.0+-green.svg?longCache=true&style=flat-square"
Expand Down Expand Up @@ -188,8 +188,9 @@ Uninstall
Changelog
------

v.1.3.1
v.1.3.2
- Added missing cut alias. (Which was breaking domain verifying functions.)
- Fixed missing systemless hosts print.

v.1.3.0
- Added back Magisk v20.0 - 20.3 support.
Expand Down
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id=energizedprotection
name=Energized Protection
version=1.3.1
versionCode=200525131
version=1.3.2
versionCode=200525132
author=AdroitAdorKhan
description=Let's make an annoyance free better open internet, altogether! https://energized.pro
2 changes: 1 addition & 1 deletion system/bin/energized
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ currentIP=$(grep -o -m 1 '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}
# ----------------------------------------
# Versioning & Date
# ----------------------------------------
version=$Y'1.3.1'$N > /dev/null 2>&1
version=$Y'1.3.2'$N > /dev/null 2>&1
releaseDate=$G'May 25, 2020'$N > /dev/null 2>&1
date=$(date "+%d.%m.%Y %H:%M:%S")
# ----------------------------------------
Expand Down
13 changes: 12 additions & 1 deletion system/bin/setupFiles.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# ----------------------------------------
# Colors
# ----------------------------------------
R='\e[01;91m' > /dev/null 2>&1; # Red
G='\e[01;92m' > /dev/null 2>&1; # Green
Y='\e[01;93m' > /dev/null 2>&1; # Yellow
W='\e[01;97m' > /dev/null 2>&1; # White
N='\e[0m' > /dev/null 2>&1; # No color
NC='\033[0m' > /dev/null 2>&1; # printf No color
# ----------------------------------------

# ----------------------------------------
# Check Magisk support
# ----------------------------------------
Expand Down Expand Up @@ -85,7 +96,7 @@ alias wget="$busybox wget"
# ----------------------------------------
checkSystemlessHosts() {
if [ ! -f $hosts ]; then
checkSystemlessHostsPrint=$R" × "$N$W"Systemless Hosts is disabled."$N$R"\n - Enable in 'Magisk Manager>Settings'.\n - Reboot and re-run the script.\n - Quitting Script..."$N
echo -e $R" × "$N$W"Systemless Hosts is disabled."$N$R"\n - Enable in 'Magisk Manager>Settings'.\n - Reboot and re-run the script.\n - Quitting Script..."$N
sleep 3
exit 0
else
Expand Down

0 comments on commit 1c597d7

Please sign in to comment.