summarylogtreecommitdiffstats
path: root/epherome.sh
blob: a2fedfd41500c31707ed516b38972323a7aa4f69 (plain)
1
2
3
4
5
6
#!/bin/bash
if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
    exec electron22 /opt/epherome/epherome.asar "$@"
else
    exec electron22 --no-sandbox /opt/epherome/epherome.asar "$@"
fi