How to use .sgv file as an Icon

Hi Experts,
I am new to electron. seeking help.
My current application(eUWP) has a AppXManifest.xml file which allows us to display a certain icon of the application after installation in the window based computer.

    <uap:Extension Category="windows.fileTypeAssociation">
      <uap:FileTypeAssociation Name=".dwg">
        <uap:Logo>assets\temp.png</uap:Logo>
        <uap:SupportedFileTypes>
          <uap:FileType>.dwg</uap:FileType>
        </uap:SupportedFileTypes>
      </uap:FileTypeAssociation>
    </uap:Extension>

currently we are using .png file as Icon. But we do not want to use .pn now. Instead, we want to use .SVG flie.

how can I achieve it. your guidance will be appreciable.

You can’t

<Logo>
 A string between 1 and 256 characters in length that ends with ".jpg",
".png", or ".jpeg" that can't contain these characters:
<, >, :, ", |, ?, or *.
In this string, the / and \ characters can't be the first or last
characters. Also, the string can contain / or \ but not both.
</Logo>

Source

1 Like