mirror of
https://github.com/oooo-ps/i2pdbrowser.git
synced 2026-04-01 14:15:29 +00:00
[linux] add Desktop launch scripts
Former-commit-id: 57539ee9f0885f8f3ee1b39935813ec331565016
This commit is contained in:
parent
677f1671c7
commit
a6f28e6fe0
4 changed files with 365 additions and 33 deletions
14
linux/build/scripts/execdesktop
Executable file
14
linux/build/scripts/execdesktop
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/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} "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue