electron-builder: Add '--no-sandbox' launch arg for Linux build targets

Fixes Dev Tools not being able to be opened, among other subtle issue.

This is a frequently reported bug, and we try to apply this workaround
elsewhere, it's just that the .desktop file that electron-builder
generates skips the workaround we have applie e.g. in the /us/bin/pulsar
launcher script.
This commit is contained in:
DeeDeeG 2024-06-20 10:55:52 -04:00
parent 1c3bd7f3a1
commit 24d1b890db

View File

@ -176,6 +176,7 @@ let options = {
"to": "pulsar.svg"
},
],
"executableArgs": ['--no-sandbox'],
},
"mac": {
"icon": icnsIcon,