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