Thibaut Boustany
6 years ago
No known key found for this signature in database
GPG Key ID: 32475B11A2B13EEC
1 changed files with
7 additions and
1 deletions
-
scripts/helpers/display-env.sh
|
|
@ -7,9 +7,15 @@ if [ "$GIT_REVISION" == "" ]; then |
|
|
|
GIT_REVISION=$(git rev-parse HEAD) |
|
|
|
fi |
|
|
|
|
|
|
|
if [[ $(uname) == 'Darwin' ]]; then |
|
|
|
osVersion="$(sw_vers -productName) $(sw_vers -productVersion)" |
|
|
|
else |
|
|
|
osVersion="$(uname -srmo)" |
|
|
|
fi |
|
|
|
|
|
|
|
echo |
|
|
|
printf " │ \\e[4;1m%s\\e[0;0m\\n" "Ledger Live Desktop - ${GIT_REVISION}" |
|
|
|
printf " │ \\e[1;30m%s\\e[1;0m\\n" "$(uname -srmo)" |
|
|
|
printf " │ \\e[1;30m%s\\e[1;0m\\n" "${osVersion}" |
|
|
|
printf " │ \\e[2;1mcommit \\e[0;33m%s\\e[0;0m\\n" "$(git rev-parse HEAD)" |
|
|
|
echo |
|
|
|
|
|
|
|