From 038b53b9747dde502930c8f350baa6d4ab0c1b34 Mon Sep 17 00:00:00 2001 From: "630892807@qq.com" <630892807@qq.com> Date: Sat, 20 Mar 2021 13:05:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AE=88=E6=8A=A4=E8=BF=9B?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/server.go | 11 ----------- static/css/gofly-front.css | 1 + 2 files changed, 1 insertion(+), 11 deletions(-) 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; }