diff --git a/cmd/server.go b/cmd/server.go index 042b3bf..84f8eb0 100644 --- a/cmd/server.go +++ b/cmd/server.go @@ -45,17 +45,6 @@ func run() { d := xdaemon.NewDaemon(logFilePath + "go-fly.log") d.MaxCount = 5 d.Run() - //if os.Getppid() != 1 { - // // 将命令行参数中执行文件路径转换成可用路径 - // filePath, _ := filepath.Abs(os.Args[0]) - // cmd := exec.Command(filePath, os.Args[1:]...) - // // 将其他命令传入生成出的进程 - // cmd.Stdin = os.Stdin // 给新进程设置文件描述符,可以重定向到文件中 - // cmd.Stdout = os.Stdout - // cmd.Stderr = os.Stderr - // cmd.Start() // 开始执行新进程,不等待新进程退出 - // os.Exit(0) - //} } baseServer := "0.0.0.0:" + Port diff --git a/static/css/gofly-front.css b/static/css/gofly-front.css index 7a9b31b..f168054 100644 --- a/static/css/gofly-front.css +++ b/static/css/gofly-front.css @@ -219,6 +219,7 @@ max-height: 145px; } .launchButtonText .flyAvatar{ + display: block; margin-right: 0px; float: none; }