Comments (8)
@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.
@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.
👋 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.
Looking into the code here further, it seems there is no way to disable the transform which adds browser-sandbox
.
electron-installer-snap/src/yaml.js
Line 170 in 2f76307
How are we supposed to be able to do allow-sandbox: false
?
from electron-installer-snap.
@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.
@malept any chance to have PR merged? #75
from electron-installer-snap.
I can confirm that @davidwinter's project works great!
from electron-installer-snap.
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)
- Code does not match what is released in NPM HOT 10
- "classic" confinement needs but doesn't install bin/electron-launch HOT 1
- [Feature] Support custom layouts to snap yaml HOT 1
- Snapcraft unable to resolve absolute paths when using LXD HOT 1
- How to use this package in 2024? HOT 1
- Fix handling default args from app
- Snapcraft failed due to wrong base HOT 10
- Can't convert packaged app to snap. HOT 2
- Native builds aren't supported on Raspbian GNU/Linux. You can however use 'snapcraft cleanbuild' with a container. HOT 1
- Snapcraft failed with Hash Sum mismatch on Ubuntu 18.04 HOT 20
- Snap fails to build on Ubuntu 20.04 (multipass problem) HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-installer-snap.