Skip to content

Commit

Permalink
Merge pull request #34 from gabrielpadilh4/doc_install
Browse files Browse the repository at this point in the history
Updated install script and installation description
  • Loading branch information
gabrielpadilh4 authored Dec 21, 2023
2 parents c5580cd + 3d9d017 commit 6c89a63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Alternatively, it can be installed through using `curl` as well:
sh <(curl -s https://raw.githubusercontent.com/gabrielpadilh4/ssl-handshake-debugger/main/install.sh)
```

It will download and extract the binaries of `ssl-handshake-debugger` command on `$HOME/ssl-handshake-debugger` and add it to the `$PATH` variable by changing the `.bashrc` file.

## Building from Source

To build from source, refer to the [building and working with the code base](docs/building.md) guide.
Expand Down
4 changes: 4 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ if ! which wget 2> /dev/null; then

elif ! which unzip 2> /dev/null; then
display_error "'unzip' has not been found in the system. Please install the package first to proceed."

elif ! which java 2> /dev/null; then
display_error "'java' has not been found in the system. Please install the package first to proceed."
fi

# Download the application archive and extract it to the installation directory
Expand All @@ -56,3 +59,4 @@ fi
source "$HOME/.bashrc"

echo "Installation successful! Use 'ssl-handshake-debugger -h' command to run the application."
echo "Obs: Some distributions need to restart the shell to work."

0 comments on commit 6c89a63

Please sign in to comment.