Skip to content

Commit

Permalink
Readme update and changelog fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KasRoudra committed Jul 26, 2022
1 parent 2fa3100 commit beb0974
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ Usage: bash ch.sh [-h] [-o OPTION] [-p PORT] [-t TUNNELER] [-u] [-nu]
Options:
-h, --help Show this help message and exit
-o OPTION, --option OPTION Index of the template
-p PORT, --port PORT Port of CamHacker's Server
-t TUNNELER, --tunneler TUNNELER Name of the tunneler
-p PORT, --port PORT Port of CamHacker's Server (Default: 8080)
-t TUNNELER, --tunneler TUNNELER Name of the tunneler for url shortening (Default: cloudflared)
-d DIRECTORY, --directory DIRECTORY Directory where images will be saved
--update(-u), --no-update (-nu) Check for update (Default: true)
```
Expand Down
4 changes: 2 additions & 2 deletions ch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ if [[ "$git_ver" != "404: Not Found" && "$git_ver" != "$version" ]]; then
echo -e "\n${success}CamHacker updated successfully!!"
if [[ "$changelog" != "404: Not Found" ]]; then
echo -e "${purple}[•] Changelog:\n${blue}"
echo $changelog | head -n3
echo -e "$changelog" | head -n4
fi
exit
elif [[ "$upask" == "n" ]]; then
Expand Down Expand Up @@ -634,7 +634,7 @@ elif ( $cfcheck && ! $ngrokcheck && ! $loclxcheck ); then
elif ( $loclxcheck && ! $ngrokcheck && ! $cfcheck ); then
echo -e "${success}Loclx has started successfully!\n"
url_manager "$loclxlink" 1 2
elif ! ( $ngrokcheck && $cfcheck && $loclxcheck ) ; then
else
echo -e "${error}Tunneling failed! Start your own port forwarding/tunneling service at port ${PORT}\n";
fi
sleep 1
Expand Down

0 comments on commit beb0974

Please sign in to comment.