updated app icon

This commit is contained in:
John O'Keefe 2024-08-22 21:00:17 -04:00
parent 58fb1e41c2
commit ca6727d2b6
7 changed files with 9 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -4,6 +4,7 @@
<meta charset="UTF-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>AniTrack</title>
<link rel="icon" href="%svelte.assets%/favicon.ico" />
</head>
<body>
<div id="app"></div>

0
frontend/wailsjs/runtime/package.json Normal file → Executable file
View File

0
frontend/wailsjs/runtime/runtime.d.ts vendored Normal file → Executable file
View File

0
frontend/wailsjs/runtime/runtime.js Normal file → Executable file
View File

View File

@ -2,9 +2,11 @@ package main
import (
"embed"
"github.com/wailsapp/wails/v2"
"github.com/wailsapp/wails/v2/pkg/options"
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
"github.com/wailsapp/wails/v2/pkg/options/linux"
)
//go:embed all:frontend/dist
@ -27,8 +29,13 @@ func main() {
Bind: []interface{}{
app,
},
Linux: &linux.Options{
Icon: []byte("./build/appicon.png"),
WindowIsTranslucent: false,
WebviewGpuPolicy: linux.WebviewGpuPolicyAlways,
ProgramName: "AniTrack",
},
})
if err != nil {
println("Error:", err.Error())
}