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