I tried a variety of Electron versions electron versions
npm install --save electron@1.7.1 && find node_modules/electron/ | xargs execstack 2>/dev/null | grep X
npm install --save electron@1.2.1 && find node_modules/electron/ | xargs execstack 2>/dev/null | grep X
npm install --save electron@1.2.0 && find node_modules/electron/ | xargs execstack 2>/dev/null | grep X
# ... etc ...
All revisions that existed had an execstack for node_modules/electron/dist/electron
. In total, I tried 1.7.1, 1.2.1, 1.2.0, 1.3.0, 1.5.0, 1.5.1, 1.5.1, 1.5.2, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.6.10, 1.7.7, 1.7.8, 1.7.9, and 1.8.1.
I tried clearing execstack on 1.4.3 with
watch -n 0.1 execstack -c ./dist/linux-unpacked/polarr
and that version also lacked WebGL support.
I’ve created a simple electron WebGL app for testing. It supports WebGL when run with npm start
but does not support WebGL when run as a snap:
Can I get an ETA on WebGL support in Snap? Electron is listed as a supported language in the Electron docs https://docs.snapcraft.io/build-snaps/electron. At this time, there is no way to publish Electron WebGL applications to the Ubuntu Store since .deb isn’t allowed anymore and WebGL doesn’t work in Snap yet. If WebGL Snap support is going to take a long time that’s okay, but if that’s the case I would like for the deb that I’ve packaged to go into the Ubuntu Store in the interim.