cleanup linux

This commit is contained in:
nahakubuilde
2025-07-17 06:07:33 +01:00
parent c9a33f8b3d
commit 518cc2e275
3 changed files with 5 additions and 2 deletions

View File

@@ -7,7 +7,10 @@ This app uses Go's `embed` package to bundle all static files (web UI, icons, CS
### Prerequisites
- [Go 1.16+](https://golang.org/dl/) (required for `embed`)
- (Optional) [Python 3](https://www.python.org/) with Pillow for icon conversion
```go
go mod init headeranalyzer
go mod tidy
```
### 1. Prepare Icons
- Place your tray icon and favicon in `web/icon.png` and `web/favicon.png`.
- For Windows tray icon, you **must** use a `.ico` file. Use the provided script:

View File

@@ -40,7 +40,7 @@ func onReady(addrPort string, shutdownCh chan struct{}) {
if runtime.GOOS == "windows" {
iconPath = "web/favicon.ico"
} else {
iconPath = "web/favicon.png"
iconPath = "web/favicon.ico"
}
iconData, err := fs.ReadFile(embeddedFiles, iconPath)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB