sunsheng 1 year ago
parent
commit
34e1adcc5c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/main.go

+ 3 - 3
src/main.go

@@ -266,7 +266,7 @@ func createRunUi(url string) *cef.TCEFApplication {
 		}
 	}
 	cef.BrowserWindow.Config.Url = fmt.Sprintf("%s?t=%d&shortcut=%s", url, time.Now().UnixMicro(), shortcut)
-	cef.BrowserWindow.Config.Title = "lancher"
+	cef.BrowserWindow.Config.Title = "launcher"
 	cef.BrowserWindow.Config.IconFS = "assets/3dqueen.ico"
 	// !这里有问题,minHeight 不正确,对应宽度且高度设置不生效/minWidth
 	cef.BrowserWindow.Config.MinHeight = 380
@@ -568,8 +568,8 @@ func trayDemo(browserWindow cef.IBrowserWindow) {
 	window := browserWindow.AsLCLBrowserWindow().BrowserWindow()
 	//托盘 windows linux macos 系统托盘
 	newTray := window.NewTray()
-	newTray.SetTitle("3dqueen")
-	newTray.SetHint("3dqueen")
+	newTray.SetTitle("launcher")
+	newTray.SetHint("launcher")
 	// if common.IsLinux() {
 	// 	newTray.SetIconFS("assets/icon.png")
 	// } else {