diff --git a/README.md b/README.md index f76b7a7..c20b8e7 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ Usage: ep [options...] > e.g., ep -b example.com new.example.com www.example.com -B, --blacklist >> Add the domains in blacklist file to hosts. - >> blacklist file in /sdcard/EnergizedProtection directory. + >> blacklist file in /sdcard/Documents/EnergizedProtection directory. > e.g., ep -B -c, --clear >> Clear the hosts file and revert back to stock. @@ -127,7 +127,7 @@ Usage: ep [options...] ep -p blu -e regional social -r, --redirect >> Redirect the domains in redirectlist file to specific IPV4/V6. - >> redirectlist file in /sdcard/EnergizedProtection directory. + >> redirectlist file in /sdcard/Documents/EnergizedProtection directory. > e.g., ep -r -u, --update >> Update currently applied hosts pack and extension(s). @@ -139,7 +139,7 @@ Usage: ep [options...] > e.g., ep -w example.com new.example.com www.example.com -W, --whitelist >> Whitelist the domains in whitelist file to hosts. - >> whitelist file in /sdcard/EnergizedProtection directory. + >> whitelist file in /sdcard/Documents/EnergizedProtection directory. > e.g., ep -W -bp, --backup >> Backup the current hosts setup. diff --git a/system/bin/energized b/system/bin/energized index 57708b6..51ccf49 100644 --- a/system/bin/energized +++ b/system/bin/energized @@ -20,7 +20,7 @@ alias awk="$busybox awk" # ---------------------------------------- # Define Energized Protection directory # ---------------------------------------- -directory="/sdcard/EnergizedProtection" +directory="/sdcard/Documents/EnergizedProtection" # Create directory if [ ! -d $directory ]; then mkdir -p $directory; @@ -2022,7 +2022,7 @@ uninstall(){ # Restore stock settings restoreStockSettings; # Uninstall - rm -rf '/system/bin/energized' '/system/bin/ENERGIZED' '/data/adb/modules/energizedprotection' '/sbin/.magisk/modules/energizedprotection' '/sdcard/EnergizedProtection' > /dev/null 2>&1; + rm -rf '/system/bin/energized' '/system/bin/ENERGIZED' '/data/adb/modules/energizedprotection' '/sbin/.magisk/modules/energizedprotection' '/sdcard/Documents/EnergizedProtection' > /dev/null 2>&1; clear echo -e "$W""\nIt's sad to see you go!""$N" echo -e "$W""But ""$N""$Y""https://energized.pro""$N""$W"" is always there for you!""$N" diff --git a/system/bin/strings.sh b/system/bin/strings.sh index b83e016..33cbce7 100644 --- a/system/bin/strings.sh +++ b/system/bin/strings.sh @@ -42,7 +42,7 @@ printHelp() { echo " > e.g., $sym -b abc.com x.abc.com" echo -e $Y" -B, --blacklist"$N echo " >> Add the domains in blacklist file to hosts." - echo " >> blacklist file in \n /sdcard/Energized Protection directory." + echo " >> blacklist file in \n /sdcard/Documents/EnergizedProtection directory." echo " > e.g., $sym -B" echo -e $Y" -c, --clear"$N echo " >> Clear the hosts file and revert back to stock." @@ -76,7 +76,7 @@ printHelp() { echo " $sym -p blu -e regional social" echo -e $Y" -r, --redirect"$N echo " >> Redirect the domains in \n redirectlist file to specific IPV4/V6." - echo " >> redirectlist file in \n /sdcard/EnergizedProtection directory." + echo " >> redirectlist file in \n /sdcard/Documents/EnergizedProtection directory." echo " > e.g., $sym -r" echo -e $Y" -u, --update"$N echo " >> Update currently applied hosts and \n extensions. Also whitelist, blacklist and \n redirect domains to current IP." @@ -86,7 +86,7 @@ printHelp() { echo " > e.g., $sym -w abc.com x.abc.com" echo -e $Y" -W, --whitelist"$N echo " >> Whitelist the domains in \n whitelist file to hosts." - echo " >> whitelist file in \n /sdcard/EnergizedProtection directory." + echo " >> whitelist file in \n /sdcard/Documents/EnergizedProtection directory." echo " > e.g., $sym -W" echo -e $Y" -bp, --backup"$N echo " >> Backup the current hosts setup."