electron-builder snap not running
Hi, I have built my app using electron-builder. However, the snap generated does not run on linux when clicking on the installed app icon or running the command <app name> on the command line. However, if I manually run /snap/<app_name>/current/<app_name>, the app is able to run.
I have filed a GitHub issue, to no avail: https://github.com/electron-userland/electron-builder/issues/5067
Anyone else encountering this and have any idea how to fix it? I would really like to submit my snaps to the Snap Store but with things in this state I can’t submit an app which can’t even start.
Anybody found a solution? I have tried updating to the latest electron; however, it still does not work.
dobbel last edited by
running the command <app name> on the command line.
What happens(console output) when you run it on the console?
What happens if you run it on
notUbuntu , let say Debian?
Any way to debug(logs) what is going on?
@dobbel Completely blank (if I type just <app name>). “which <app name>” works fine.
If I type /snap/<app_name>/current/<app_name> it works perfectly.
But I want it to run on Ubuntu. Most (if not all) snap store users are on Ubuntu.
I think the snap is somehow creating the symlink wrongly.