Skip to content

Commit

Permalink
0.3.2
Browse files Browse the repository at this point in the history
Signed-off-by: Boudjada Yasser <by.root96@gmail.com>
  • Loading branch information
yasserbdj96 committed May 26, 2023
1 parent 9a89251 commit 70f00e2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions install/hiphp-termux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,31 +52,31 @@ done
#cli help:
if [ "$help" = true ]; then
#elif [ "$1" == "--HELP" ] || [ "$1" == "--help" ]; then
python3 "${PREFIX}/share/hiphp.py" --HELP;
python3 "${PREFIX}/share/hiphp/hiphp.py" --HELP;

#hiphp_desktop:
elif [ "$dst" = true ]; then
#elif [ "$1" == "--DST" ] || [ "$1" == "--dst" ]; then
python3 "${PREFIX}/share/hiphp.py" --DST;
python3 "${PREFIX}/share/hiphp/hiphp.py" --DST;

#version:
elif [ "$version" = true ]; then
#elif [ "$1" == "--VERSION" ] || [ "$1" == "--version" ]; then
python3 "${PREFIX}/share/hiphp.py" --VERSION;
python3 "${PREFIX}/share/hiphp/hiphp.py" --VERSION;

elif [ "$geth" = true ]; then
if [ -n "$key" ] || [ -n "$url" ]; then
python3 "${PREFIX}/share/hiphp.py" --GETH --KEY=$2 --URL=$3;
python3 "${PREFIX}/share/hiphp/hiphp.py" --GETH --KEY=$2 --URL=$3;
else
echo "At least one variable is empty"
fi

#help:
else
if [ -n "$url" ] && [ -n "$key" ]; then
python3 "${PREFIX}/share/hiphp.py" --KEY=$key --URL=$url;
python3 "${PREFIX}/share/hiphp/hiphp.py" --KEY=$key --URL=$url;
else
python3 "${PREFIX}/share/hiphp/hiphplogo.py" "ok_view";
python3 "${PREFIX}/share/hiphp/hiphp/hiphplogo.py" "ok_view";
echo "Usage: hiphp [OPTION]";
echo "";
echo "Examples:";
Expand Down

1 comment on commit 70f00e2

@vercel
Copy link

@vercel vercel bot commented on 70f00e2 May 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

hiphp – ./

hiphp-git-main-yasserbdj96.vercel.app
hiphp-yasserbdj96.vercel.app
hiphp.vercel.app

Please sign in to comment.