We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0910bcb commit 2386daeCopy full SHA for 2386dae
βsystray/systray.go
@@ -29,11 +29,14 @@ func (s *Systray) Restart() {
29
fmt.Println(s.path)
30
fmt.Println(osext.Executable())
31
if s.path == "" {
32
+ fmt.Println("Update binary path not set")
33
var err error
34
s.path, err = osext.Executable()
35
if err != nil {
36
fmt.Printf("Error getting exe path using osext lib. err: %v\n", err)
37
}
38
+ } else {
39
+ fmt.Println("Starting updated binary: ", s.path)
40
41
42
// Trim newlines (needed on osx)
0 commit comments