最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Converting Electron app to UWP app - Stack Overflow

programmeradmin2浏览0评论

I need some tips on how to convert a Electron app to Universal Windows Platform. I have imported all the JavaScript files into Visual studio 2017 and chosen Universal Windows Platform platform. My main problem is that I have renderers (renderer.js) which does not want to run when I pile the solution in Visual studio. I can build the solution, but when I run it I only get a white window. Any tips on how to solve this?

I need some tips on how to convert a Electron app to Universal Windows Platform. I have imported all the JavaScript files into Visual studio 2017 and chosen Universal Windows Platform platform. My main problem is that I have renderers (renderer.js) which does not want to run when I pile the solution in Visual studio. I can build the solution, but when I run it I only get a white window. Any tips on how to solve this?

Share Improve this question edited Oct 16, 2017 at 9:43 Vadim Kotov 8,2848 gold badges50 silver badges63 bronze badges asked Jul 5, 2017 at 6:56 IceCodeIceCode 1411 silver badge9 bronze badges 0
Add a ment  | 

2 Answers 2

Reset to default 4

So i have found a solution for my problem.

I found that in the JS(UWP) applications manifest it was starting some main.js file. I changed this file to start the wanted index.html file and it resolved my problems. Sorry for having so little information to go on. Also enabling the KIOSK mode was really simple so everything is working out as wanted.

Are you just wanting to submit on the store or want a proper universal app? If it's just the former, take a look at https://github./felixrieseberg/electron-windows-store

发布评论

评论列表(0)

  1. 暂无评论