We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 689da19 commit dc9fc17Copy full SHA for dc9fc17
main.go
@@ -6,7 +6,6 @@ package main
6
import (
7
"encoding/json"
8
"flag"
9
- "fmt"
10
"os"
11
"os/user"
12
"path/filepath"
@@ -98,7 +97,8 @@ func main() {
98
97
os.Exit(0)
99
}
100
101
- fmt.Println(*hibernate)
+ // Launch systray
+ go setupSysTray()
102
103
if *hibernate == false {
104
// autoextract self
@@ -288,7 +288,9 @@ func main() {
288
289
}()
290
291
- setupSysTray()
+
292
+ // Block forever until the application is shut down
293
+ select {}
294
295
296
var homeTemplate = template.Must(template.New("home").Parse(homeTemplateHtml))
0 commit comments