Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions icon/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions icon/icon_darwin.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package icon

import _ "embed" // import embed to embed the icon

// GetIcon will return the icon
func GetIcon() []byte {
return data
}

// GetIconHiber will return the hibernated icon
func GetIconHiber() []byte {
return dataHibernate
}

// data represents the icon
//
//go:embed icon_mac.png
var data []byte

// dataHibernate represents the icon hibernated
//
//go:embed icon_mac_hiber.png
var dataHibernate []byte
Loading