fix icon generation

This commit is contained in:
2021-11-29 10:06:21 -06:00
parent fa72e7bc43
commit 0a8f4ccd13
4 changed files with 13 additions and 10 deletions

12
data.go Normal file

File diff suppressed because one or more lines are too long

BIN
icon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

View File

@@ -10,8 +10,7 @@ func main() {
a := app.New() a := app.New()
// create fyne resource for icon.png // create fyne resource for icon.png
icon, _ := fyne.LoadResourceFromPath("./Icon.png") a.SetIcon(resourceIconPng)
a.SetIcon(icon)
w := a.NewWindow("Computer Info") w := a.NewWindow("Computer Info")

View File

@@ -1,8 +0,0 @@
{
"Icons": [
{
"ID": 1,
"Path": "icon.ico"
}
]
}