forked from PurpleI2P/i2pdbrowser
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
15 lines
297 B
3 years ago
|
#!/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} "$@"
|