Skip to content

Commit

Permalink
refactor: Replace icon.png to icon.svg (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonjek authored Dec 9, 2024
1 parent 2126278 commit 8c82cc1
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
Binary file removed internal/tray/icon.png
Binary file not shown.
24 changes: 24 additions & 0 deletions internal/tray/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions internal/tray/tray.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ import (
"github.com/sonjek/mouse-stay-up/internal/utils"
)

//go:embed icon.png
//go:embed icon.svg
var iconFile embed.FS

func loadIcon() ([]byte, error) {
file, err := iconFile.Open("icon.png")
file, err := iconFile.Open("icon.svg")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 8c82cc1

Please sign in to comment.