add gui support

添加 ui 支持
This commit is contained in:
谢小军
2020-01-21 00:41:16 +08:00
parent 530ef778f7
commit b72a40e40e
15 changed files with 658 additions and 2 deletions

7
data/dlg/cmd_linux.go Normal file
View File

@@ -0,0 +1,7 @@
package dlg
import "os/exec"
func openURL(url string) {
exec.Command(`xdg-open`, url).Start()
}