diff --git a/v2/internal/html/assetbundle.go b/v2/internal/html/assetbundle.go index aeca1b12..d3227497 100644 --- a/v2/internal/html/assetbundle.go +++ b/v2/internal/html/assetbundle.go @@ -153,6 +153,10 @@ func (a *AssetBundle) WriteToCFile(targetDir string) (string, error) { assetVariables := slicer.String() var variableName string for index, asset := range a.assets { + // For desktop we ignore the favicon + if asset.Type == AssetTypes.FAVICON { + continue + } variableName = fmt.Sprintf("%s%d", asset.Type, index) assetCdata := fmt.Sprintf("const unsigned char %s[]={ %s0x00 };\n", variableName, asset.AsCHexData()) cdata.WriteString(assetCdata)