i2pd browser bundle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
297 B

#!/usr/bin/env bash
I2PDB_START_PROG="$(grep '^X-I2PdBrowser-ExecShell' $1 | tail -1 | sed 's/^X-I2PdBrowser-ExecShell=//' | sed 's/%.//')"
shift
if [ "$#" -ge 1 ]
then
echo "Launching '${I2PDB_START_PROG} $@'..."
else
echo "Launching '${I2PDB_START_PROG}'..."
fi
${I2PDB_START_PROG} "$@"