We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0910bcb commit cbd9df5Copy full SHA for cbd9df5
systray/systray.go
@@ -26,14 +26,15 @@ type Systray struct {
26
// it works by finding the executable path and launching it before quitting
27
func (s *Systray) Restart() {
28
29
- fmt.Println(s.path)
30
- fmt.Println(osext.Executable())
31
if s.path == "" {
+ fmt.Println("Update binary path not set")
32
var err error
33
s.path, err = osext.Executable()
34
if err != nil {
35
fmt.Printf("Error getting exe path using osext lib. err: %v\n", err)
36
}
+ } else {
37
+ fmt.Println("Starting updated binary: ", s.path)
38
39
40
// Trim newlines (needed on osx)
0 commit comments