Electron appx开始菜单中使用的默认Electron图标

Electron appx开始菜单中使用的默认Electron图标,electron,windows-store-apps,electron-builder,appx,Electron,Windows Store Apps,Electron Builder,Appx,我正在尝试将我的electron应用程序提交到windows应用商店,但每次提交都会被拒绝,原因如下: App Policies: 10.1.1 Inaccurate Representation - Icon Notes To Developer The available product tile icons include a default image. Tile icons must uniquely represent product so users associate ico

我正在尝试将我的electron应用程序提交到windows应用商店,但每次提交都会被拒绝,原因如下:

App Policies: 10.1.1 Inaccurate Representation - Icon

Notes To Developer

The available product tile icons include a default image. Tile icons must uniquely represent product so users associate icons with the appropriate products and do not confuse one product for another. For information about tiles see https://docs.microsoft.com/en-us/windows/uwp/controls-and-patterns/tiles-and-notifications-app-assets, or for 3D icons for Mixed Reality products, see https://docs.microsoft.com/en-us/windows/mixed-reality/3d-app-launcher-design-guidance. 
我询问了更多信息,得到了一个视频,显示我的应用程序正在使用默认的electron图标,这就是它被拒绝的原因。我已经尽了一切努力确保我的应用程序从未使用默认的electron图标,但运气不佳

为了构建、签名和提交我的appx文件,我在这个repo的
appxBuild
分支上运行以下命令:

  • 运行
    electron builder build--win
    构建dist/win解包文件夹

  • 运行以下powershell命令对我的appx文件进行签名并将其导出到文件夹
    output appx

  • 如果单击输出的appx文件并安装它,我可以看到正在使用的自定义图标

    除非我在windows资源管理器菜单中搜索我的应用程序,否则我会看到默认的electron应用程序图标,我一辈子都不知道如何解决这个问题。

    已完成的\output appx\RenderTune.appx文件可以上载并提交到我的windows应用商店应用程序页面,因此我认为凭据签名不正确,但一旦被审阅,它总是会被拒绝,并显示此拒绝消息

    关于如何向windows在线商店提交electron应用程序,我尝试了以下各种不同的指南: )

    并确保我有一个文件夹
    build/appx
    resources/
    ,其中包含我所需的所有图像文件:

    在构建窗口部分的my package.json中,我将我的图标指定为ico文件:

        "win": {
          "target": ["appx"],
          "extraResources": [
            "node_modules/ffmpeg-ffprobe-static/ffmpeg.exe",
            "node_modules/ffmpeg-ffprobe-static/ffprobe.exe"
          ],
          "icon": "build/icon.ico",
          
        "appx": {
          "applicationId": "RenderTune",
          "identityName": "1845martinbarker.digify",
          "publisher": "CN=E69B865D-5831-4BE5-9AA4-08E27DAAD66C",
          "publisherDisplayName": "martinbarker",
          "backgroundColor":"#a0beeb"
        }
    

    修复了,我丢失了一个平铺图像png文件

    I尝试向main.js添加代码来设置browserWindow图标,但没有成功
        "win": {
          "target": ["appx"],
          "extraResources": [
            "node_modules/ffmpeg-ffprobe-static/ffmpeg.exe",
            "node_modules/ffmpeg-ffprobe-static/ffprobe.exe"
          ],
          "icon": "build/icon.ico",
          
        "appx": {
          "applicationId": "RenderTune",
          "identityName": "1845martinbarker.digify",
          "publisher": "CN=E69B865D-5831-4BE5-9AA4-08E27DAAD66C",
          "publisherDisplayName": "martinbarker",
          "backgroundColor":"#a0beeb"
        }