wative 1.0.43 → 1.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/wative-ssh.sh +3 -6
- package/package.json +1 -1
package/bin/wative-ssh.sh
CHANGED
|
@@ -19,11 +19,8 @@ while IFS= read -r ALLOWED_KEYSTORE; do
|
|
|
19
19
|
|
|
20
20
|
ALLOWED_KEYSTORE=$(echo "$ALLOWED_KEYSTORE" | sed 's/-/_/g')
|
|
21
21
|
# Prompt the user to input a password for the current keystore
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
echo "$PASSWORD_INPUT"
|
|
26
|
-
|
|
22
|
+
PASSWORD_INPUT=$(systemd-ask-password "Input the password for keystore [$ALLOWED_KEYSTORE]: ")
|
|
23
|
+
|
|
27
24
|
# Save the environment variable to a temporary file
|
|
28
25
|
echo "export \"$ALLOWED_KEYSTORE\"=\"$PASSWORD_INPUT\"" >> "$ENV_FILE"
|
|
29
26
|
|
|
@@ -41,4 +38,4 @@ rm -f "$ENV_FILE"
|
|
|
41
38
|
# Execute wative-ssh with the loaded environment variables
|
|
42
39
|
TARGET_FILE=$(realpath "$(dirname "$(realpath "$0")")/../lib/wative-ssh.umd.js")
|
|
43
40
|
|
|
44
|
-
|
|
41
|
+
"$(which node)" "$TARGET_FILE"
|