diff --git a/golang_learn/data_func/go_to_tray/icon.ico b/golang_learn/data_func/go_to_0tray/icon.ico similarity index 100% rename from golang_learn/data_func/go_to_tray/icon.ico rename to golang_learn/data_func/go_to_0tray/icon.ico diff --git a/golang_learn/data_func/go_to_tray/main.go b/golang_learn/data_func/go_to_0tray/main.go similarity index 96% rename from golang_learn/data_func/go_to_tray/main.go rename to golang_learn/data_func/go_to_0tray/main.go index ce6f226..fe29e34 100644 --- a/golang_learn/data_func/go_to_tray/main.go +++ b/golang_learn/data_func/go_to_0tray/main.go @@ -20,7 +20,7 @@ func main() { func onReady() { timezone = "默认文字" - systray.SetIcon(getIcon("./icon.ico")) + systray.SetIcon(getIcon("data_func/go_to_tray/icon.ico")) submenu := systray.AddSubMenu("子菜单") _ = submenu.AddSubMenuItem("开始", "", 0)