diff --git a/README.md b/README.md index 98c86ca..b235e0b 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ on Windows, use `Git Bash` as system administrator. ## Manual ``` -jssl v1.2 +jssl v1.3 Install trusted certificate and check SSL handshake against java keystore. Usage: jssl [-p|--port ] [-a|--alias ] [-h|--help] [-v|--version] : without https:// and port, eg. google.com @@ -59,11 +59,11 @@ $ jssl install ## Supports -| |Java 1.8 | Java 11 | Java 17 | -|---|---|---|---| -| Linux | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: -| MacOS | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | -| Windows | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | +| | Java 1.8 | Java 11 | Java 17 | +|---------|--------------------|--------------------|--------------------| +| Linux | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | +| MacOS | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | +| Windows | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | ## Requirements diff --git a/src/jssl b/src/jssl index 4f4f751..2f14738 100755 --- a/src/jssl +++ b/src/jssl @@ -1,13 +1,13 @@ #!/bin/bash -### java-ssl-tools (jssl) v1.2 -jssl_version="v1.2" +### java-ssl-tools (jssl) v1.3 +jssl_version="v1.3" JVM_VERSION=$(java -version 2>&1 | head -n 1) -SUDO="sudo" -if ! command -v sudo &> /dev/null +SUDO="" +if command -v sudo &> /dev/null then - SUDO="" + SUDO="sudo" fi ### To keep the script standalone, source is divided into parts