func HasGUI() bool {
	return hasGUI
}
HasGUI returns false on Linux, true on Windows and optional on macOS.
package ui
import (
	"io/ioutil"
	"os"
	"os/exec"
)
const SystrayIcon = "files/macos.png"
var hasGUI = os.Getenv("USEGUI") == "true"  