#!/bin/sh

# Absolute path to this script, e.g. /home/user/bin/foo.sh
SCRIPT=$(readlink -f "$0")

# Absolute path this script is in, thus /home/user/bin
SCRIPTPATH=$(dirname "$SCRIPT")

# run the launcher without a sandbox, to avoid the SUID error
# https://github.com/electron/electron/issues/18265
"${SCRIPTPATH}"/Launcher --no-sandbox "$@"
