@Zane470 Hi, were you finally able to build your app for ubuntu core with electron-builder? I know that is necessary to use mir-kiosk for it, but only example I found is with snapcraft, not electron-builder
I realize this was a while ago but I’m trying to do the same thing, the tutorials point back to electron-builder but that doesn’t seem to have config options required to make this work. Did you every solve it?
From what I remember, there were some problems and develar (the developer of electron builder) got it working well enough to where I was able to build an electron app that ran on my desktop. I never got it to run on a PI since some additional configuration stuff needed to be done to get it to connect to mir-kiosk.
What I’d do is start with a working example, and then maybe you can modify the snap file to add the mir-kiosk stuff to get it to run on a PI.
I was able to get it working using that updated tutorial, but just not using electron-builder. That yaml script has some config settings that don’t seem to map to the electron-builder config for snaps. Like setting up an ‘apps’ section. But building that via snapcraft works.