-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snapcraft builds are always auto rejected #74
Comments
👋 Thanks for opening your first issue here! If you have a question about using To help make it easier for us to investigate your issue, please follow the contributing guidelines. |
Looking into the code here further, it seems there is no way to disable the transform which adds electron-installer-snap/src/yaml.js Line 170 in 2f76307
How are we supposed to be able to do |
@malept I tried to get a manual review and they gave me this response:
So it sounds like we need to be able to disable this. Does Electron require the sandbox to run on Linux? |
@malept I have been discussing this issue here https://forum.snapcraft.io/t/cannot-publish-an-electron-app/17493/25?u=rwwagner90 and debugging for many days. I still have yet to figure out a solution, but it seems if we made our build more like the one for electron-builder, it should work. |
@mahnunchik might want to give @davidwinter/electron-forge-maker-snap a try in the meantime. @rwwagner90 and I have tested it with both of our apps, and it seems to be working well with the sandbox disabled. |
I can confirm that @davidwinter's project works great! |
Initial issue resolved in #141 - this should keep snaps from being auto-rejected by the snap store on the basis of browser-sandbox. Doing a little digging to make sure there isn't other issues that would result in an auto-reject, and then we can close this specific issue. |
I opened an issue here electron/forge#1678 but perhaps this repo is the more appropriate place for it. When I build snapcraft builds and upload them to the Snap Store, I always get auto rejected with the following error:
I see
browserSandbox
is turned on by default when on Electron >= 5.0.0, but this error message sounds like we should be disabling the sandbox and instead usingconfinement
. I have tried adding--no-sandbox
to my electron app's args and settingbrowserSandbox: false
but the error still persists.Any tips on fixing this problem or is there no possible way to build an Electron app for Snap that does not need manual review?
The text was updated successfully, but these errors were encountered: