⬆️ Upgrade wails v3 from Alpha 9 to Alpha 10

This commit is contained in:
landaiqing committed 2025-07-10 10:01:52 +08:00
1 parent b52e067d50
commit 4d62da912a
42 files changed
+1220 -511

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ import (
// SetupSystemTray 设置系统托盘及其功能
func SetupSystemTray(app *application.App, mainWindow *application.WebviewWindow, assets embed.FS, trayService *services.TrayService) {
// 创建系统托盘
systray := app.NewSystemTray()
systray := app.SystemTray.New()
// 设置图标
iconBytes, _ := assets.ReadFile("appicon.png")