Cannot launch electron application after building and installing it's .deb in Ubuntu


I use Ubuntu 16.04. After I create a .deb package with electron-builder and install it using GDebi, I’m trying to launch the application, but window is not being displayed. There are no errors, the process is running and I can see it in the system monitor list. The app has a plain structure with two package files.

If running ‘electron .’, all goes normally, the problem comes up after packaging, when trying to install the app.


Did you ever solve this? I’m having the exact same issue.