-
Notifications
You must be signed in to change notification settings - Fork 835
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
AppImage launched from .desktop
file results in crash/blankscreen
#1804
Comments
Hi @jsg2021, if the app launches and you get a white screen, are you able to press |
On the rc's it crashes before I can open devtools. |
To be clear, I don't think its mattermost's fault. I think you've been working towards using the sandbox, so it would make sense that having the sandbox disabled would cause problems. |
Here is the terminal output: (window crashes before dev tools can be brought up)
without the
|
Thanks for the console output @jsg2021! I've made a ticket to look into this here: https://mattermost.atlassian.net/browse/MM-39874 |
@jsg2021 Just giving you an update, I'm kinda confused why |
@jsg2021 I've opened an PR with |
Sounds good. Thanks! |
Heh, apparently I took a while to fix this, but it is fixed :D |
I confirm (by marking "x" in the [ ] below: [x]):
Summary
The appimage when integrated with AppImageLauncher generates a
.desktop
file that contains--no-sandbox
(this is default for appimages built by electron-builder: electron-userland/electron-builder#4496 ) If I run the appimage directly or remove that flag from the .desktop, all is well.Environment
Steps to reproduce
Download a new appimage, double click to make AppImageLauncher integrate it.
Close initial launch (works fine first launch from the AppImageLauncher screen)
Relaunch from UI shortcuts from the .desktop file
Observe dead app.
Expected behavior
no crash/white window
Observed behavior
windows open white or crash
Possible fixes
find a way to not run this line in builder:
args.push("--extraAppArgs=--no-sandbox")
The text was updated successfully, but these errors were encountered: