gpt4 book ai didi

javascript - Electron Windows 商店 : How to correctly specify the data?

转载 作者:行者123 更新时间:2023-12-03 03:24:32 26 4
gpt4 key购买 nike

我想使用electron-windows-store package从exe( Electron )构建UWP应用程序.

我需要在 devCert、certPass、desktopConverter 中指定什么?

devCert。我如何获得证书?我转到我的帐户,创建了应用程序。去哪里拿这个证书?如果我correctly understand检查应用程序后会给出证书,但要发送应用程序进行验证,我需要构建它,为此我需要一个证书。

certPass。它是什么以及在哪里获取它?

desktopConverter。我找到了this app 。这就是我需要的?如果是,指定哪个路径(该应用程序来自商店)

更新

我使用这个 manual 获得了证书。我已经将所有数据写入 js file 中创建应用程序。

之后我运行命令来构建应用程序:

PS C:\Users\steko\Desktop\AppX> node .\appx.js
Configuration:
Desktop Converter Location: C:\desktop-converter-tools
Expanded Base Image: C:\BaseImage.wim
Publisher: CN=developmentca
Dev Certificate: C:\Users\steko\Desktop\AppX\devcert.pfx Windows Kit Location: C:\Program Files (x86)\Windows Kits\10\bin\x64
Starting Conversion...
Cleaning pre-appx output folder...
Copying data...
Creating manifest..
Copying visual assets into pre-appx folder...
Overwriting manifest...
Creating priconfig...
events.js:160
throw er; // Unhandled 'error' event
^
Error: spawn C:\Program Files (x86)\Windows Kits\10\bin\x64 \makepri.exe ENOENT at exports._errnoException (util.js:1020:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) at onErrorNT (internal/child_process.js:367:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)

如何修复错误?

git

最佳答案

devCert. How do I get a certificate? I went to my account, created the application. Where to take this certificate? If I correctly understand the certificate give after checking the application, but to send the application for verification I need to build it, and for this I need a certificate.

根据文档,您可以从 CLI 工具生成证书。该证书用于对您创建的包进行签名,以便您可以将其旁加载到设备上并进行测试。

certPass. What is it and where to get it?

这是您的证书的密码选项。您可以在通过该命令创建证书时自行指定。

desktopConverter. I found this app. This is what I need? If yes, which path to specify (this application from the store)

是的。您可以在 C:\\desktop-converter-tools 中指定该工具。

更新

Is there a simple guide or lesson? A video example? I can not understand what exactly I need to do

是的,您可以引用Distribute a packaged desktop app官方文档,里面有无店分发视频示例。

Please provide more information about application certification

你可以create your certificate并使用它通过 SignTool.exe 对您的包裹进行签名.

关于javascript - Electron Windows 商店 : How to correctly specify the data?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46394654/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com