summarylogtreecommitdiffstats
path: root/picgo-wrapper.sh
blob: 844a4773559cd5f4a2e9abc205769932424c8ff2 (plain)
1
2
3
4
5
6
#!/bin/bash
if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
    exec electron16 /usr/lib/picgo/app.asar "$@"
else
    exec electron16 --no-sandbox /usr/lib/picgo/app.asar "$@"
fi