Coder Social home page Coder Social logo

Comments (8)

RobbieTheWagner avatar RobbieTheWagner commented on August 14, 2024 1

@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.

from electron-installer-snap.

davidwinter avatar davidwinter commented on August 14, 2024 1

@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.

from electron-installer-snap.

welcome avatar welcome commented on August 14, 2024

👋 Thanks for opening your first issue here! If you have a question about using electron-installer-snap, read the support docs. If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. Development and issue triage is community-driven, so please be patient and we will get back to you as soon as we can.

To help make it easier for us to investigate your issue, please follow the contributing guidelines.

from electron-installer-snap.

RobbieTheWagner avatar RobbieTheWagner commented on August 14, 2024

Looking into the code here further, it seems there is no way to disable the transform which adds browser-sandbox.

'allow-sandbox': true,

How are we supposed to be able to do allow-sandbox: false?

from electron-installer-snap.

RobbieTheWagner avatar RobbieTheWagner commented on August 14, 2024

@malept I tried to get a manual review and they gave me this response:

Use of the 'allow-sandbox' attribute of the browser-support interface is reserved for vetted publishers. 
Typically this access is not required (see https://forum.snapcraft.io/t/supported-interfaces/7744 for details). 

So it sounds like we need to be able to disable this. Does Electron require the sandbox to run on Linux?

from electron-installer-snap.

mahnunchik avatar mahnunchik commented on August 14, 2024

@malept any chance to have PR merged? #75

from electron-installer-snap.

RobbieTheWagner avatar RobbieTheWagner commented on August 14, 2024

I can confirm that @davidwinter's project works great!

from electron-installer-snap.

VerteDinde avatar VerteDinde commented on August 14, 2024

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.

from electron-installer-snap.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.