1
0
mirror of https://github.com/PurpleI2P/i2pdbrowser synced 2025-01-15 17:20:02 +00:00
R4SAS a6f28e6fe0 [linux] add Desktop launch scripts
Former-commit-id: 57539ee9f0885f8f3ee1b39935813ec331565016
2022-04-21 00:22:19 +00:00

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} "$@"