mirror of
https://github.com/PurpleI2P/i2pdbrowser
synced 2025-01-15 17:20:02 +00:00
15 lines
297 B
Bash
Executable File
15 lines
297 B
Bash
Executable File
#!/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} "$@"
|