15 lines
279 B
Plaintext
15 lines
279 B
Plaintext
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
TBB_START_PROG="$(grep '^X-TorBrowser-ExecShell' $1 | tail -1 | sed 's/^X-TorBrowser-ExecShell=//' | sed 's/%.//')"
|
||
|
|
|
||
|
|
shift
|
||
|
|
|
||
|
|
if [ "$#" -ge 1 ]
|
||
|
|
then
|
||
|
|
echo "Launching '${TBB_START_PROG} $@'..."
|
||
|
|
else
|
||
|
|
echo "Launching '${TBB_START_PROG}'..."
|
||
|
|
fi
|
||
|
|
|
||
|
|
${TBB_START_PROG} "$@"
|