Skip to content

Commit 2386dae

Browse files
committed
added useful prints
1 parent 0910bcb commit 2386dae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

systray/systray.go

+3
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,14 @@ func (s *Systray) Restart() {
2929
fmt.Println(s.path)
3030
fmt.Println(osext.Executable())
3131
if s.path == "" {
32+
fmt.Println("Update binary path not set")
3233
var err error
3334
s.path, err = osext.Executable()
3435
if err != nil {
3536
fmt.Printf("Error getting exe path using osext lib. err: %v\n", err)
3637
}
38+
} else {
39+
fmt.Println("Starting updated binary: ", s.path)
3740
}
3841

3942
// Trim newlines (needed on osx)

0 commit comments

Comments
 (0)