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 compile 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?
Electron is designed for 'Desktop' app, not for UWP app.
Create the Electron based Syncfusion Application as mentioned in this link. Then package the application using Electron Packager, once packing completed JS_Electron-win32-ia32 folder will be created with Electron package file.
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.com/felixrieseberg/electron-windows-store
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With