mirror of
https://github.com/PurpleI2P/i2pdbrowser.git
synced 2024-12-06 19:16:29 +01:00
a6f28e6fe0
Former-commit-id: 57539ee9f0
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} "$@"
|