summarylogtreecommitdiffstats
path: root/e-search.sh
blob: 90d87b1851020be22364a9543fac440e5d40daab (plain)
1
2
3
4
5
6
7
#!/bin/bash
export ELECTRON_FORCE_IS_PACKAGED=true
if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
    exec electron /usr/lib/esearch "$@"
else
    exec electron --no-sandbox /usr/lib/esearch "$@"
fi