Code: Select all
curl -H 'Snap-Device-Series: 16' http://api.snapcraft.io/v2/snaps/info/chromium >> chromium.info
Code: Select all
#!/bin/sh
LAUNCHDIR="$(dirname "$(readlink -f "$0")")"
export SNAP="$LAUNCHDIR"
export SNAP_ARCH="amd64"
export SNAP_VERSION="3" # for example (get the version from the original snap)
export SNAP_USER_DATA="$HOME/snap1"
chown -R spot:spot $HOME/snap1
run-as-spot $LAUNCHDIR/command-chromium.wrapper --disable-infobars "$@"