admin管理员组

文章数量:1323714

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

本文标签: javascriptConverting Electron app to UWP appStack Overflow