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