blob: a7b574433f2dfb20cc3af5ffb970b250df456037 (
plain)
1
2
3
4
5
6
|
#!/bin/bash
if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
exec electron24 /opt/fdc3-sail/fdc3-sail.asar "$@"
else
exec electron24 --no-sandbox /opt/fdc3-sail/fdc3-sail.asar "$@"
fi
|