From ece0ced937a4bb5804a0cee78be9436b12b04266 Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Fri, 13 May 2022 17:32:23 +0100 Subject: [PATCH] No default password. --- cmd/zenity/build.sh | 2 ++ pwd_darwin.go | 1 + pwd_windows.go | 1 + 3 files changed, 4 insertions(+) diff --git a/cmd/zenity/build.sh b/cmd/zenity/build.sh index e8d3068..97fa695 100755 --- a/cmd/zenity/build.sh +++ b/cmd/zenity/build.sh @@ -25,3 +25,5 @@ rm zenity zenity_macos_* zenity.exe GOOS=linux go build -tags dev go build -tags dev git restore tag.go + +shasum -a256 *.zip \ No newline at end of file diff --git a/pwd_darwin.go b/pwd_darwin.go index ac13431..b93c7cf 100644 --- a/pwd_darwin.go +++ b/pwd_darwin.go @@ -8,6 +8,7 @@ import ( func password(opts options) (string, string, error) { if !opts.username { + opts.entryText = "" opts.hideText = true str, err := entry("Password:", opts) return "", str, err diff --git a/pwd_windows.go b/pwd_windows.go index a621930..0af8504 100644 --- a/pwd_windows.go +++ b/pwd_windows.go @@ -7,6 +7,7 @@ import ( func password(opts options) (string, string, error) { if !opts.username { + opts.entryText = "" opts.hideText = true str, err := entry("Password:", opts) return "", str, err