move icons to platform package

This commit is contained in:
Nazar Kanaev 2020-10-01 21:53:48 +01:00
parent 693b5bcb8d
commit bac136603b
3 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ import (
func Start(s *server.Handler) { func Start(s *server.Handler) {
systrayOnReady := func() { systrayOnReady := func() {
systray.SetIcon(server.Icon) systray.SetIcon(Icon)
menuOpen := systray.AddMenuItem("Open", "") menuOpen := systray.AddMenuItem("Open", "")
systray.AddSeparator() systray.AddSeparator()

View File

@ -1,8 +1,8 @@
// +build !windows // +build macos
// File generated by 2goarray v0.1.0 (http://github.com/cratonica/2goarray) // File generated by 2goarray v0.1.0 (http://github.com/cratonica/2goarray)
package server package platform
var Icon []byte = []byte{ var Icon []byte = []byte{
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,

View File

@ -2,7 +2,7 @@
// File generated by 2goarray v0.1.0 (http://github.com/cratonica/2goarray) // File generated by 2goarray v0.1.0 (http://github.com/cratonica/2goarray)
package server package platform
var Icon []byte = []byte{ var Icon []byte = []byte{
0x00, 0x00, 0x01, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,