Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
98efb36614 | ||
|
|
59533536b1 | ||
|
|
07821f39b7 | ||
|
|
4ea160e524 | ||
|
|
8fb4209a97 | ||
|
|
c85c364ba5 | ||
|
|
8239254485 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -11,5 +11,8 @@
|
||||
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||
*.out
|
||||
|
||||
# Binaries built with make
|
||||
bin
|
||||
|
||||
# Dependency directories (remove the comment below to include it)
|
||||
# vendor/
|
||||
|
||||
@@ -52,9 +52,6 @@ confirmed to work well with the program. Also see **Files** below.
|
||||
3. `make build`
|
||||
4. `sudo make install`
|
||||
|
||||
Building the gotk3 library takes quite a lot of time. If your machine is x86_64, you may skip steps 2-3, and
|
||||
install the provided binary by executing step 4.
|
||||
|
||||
## Command line arguments
|
||||
|
||||
```text
|
||||
|
||||
BIN
bin/nwg-drawer
BIN
bin/nwg-drawer
Binary file not shown.
2
main.go
2
main.go
@@ -21,7 +21,7 @@ import (
|
||||
"github.com/gotk3/gotk3/gtk"
|
||||
)
|
||||
|
||||
const version = "0.2.5"
|
||||
const version = "0.2.7"
|
||||
|
||||
var (
|
||||
appDirs []string
|
||||
|
||||
5
tools.go
5
tools.go
@@ -15,6 +15,7 @@ import (
|
||||
"regexp"
|
||||
"sort"
|
||||
"strings"
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
@@ -578,6 +579,10 @@ func launch(command string, terminal bool) {
|
||||
msg := fmt.Sprintf("env vars: %s; command: '%s'; args: %s\n", envVars, elements[cmdIdx], elements[1+cmdIdx:])
|
||||
log.Info(msg)
|
||||
|
||||
cmd.SysProcAttr = &syscall.SysProcAttr {
|
||||
Setsid: true,
|
||||
}
|
||||
|
||||
cmd.Start()
|
||||
|
||||
if *resident {
|
||||
|
||||
Reference in New Issue
Block a user