mirror of
https://github.com/ilyakooo0/nix-bundle.git
synced 2024-10-26 08:42:01 +03:00
parent
2a8b914e1b
commit
e0ea9901f7
@ -54,7 +54,7 @@ run_linux_desktop_app () {
|
|||||||
shift
|
shift
|
||||||
|
|
||||||
cmd=$(grep '^Exec' $file | tail -1 | \
|
cmd=$(grep '^Exec' $file | tail -1 | \
|
||||||
sed 's/Exec=//;s/^"//;s/" *$/')
|
sed 's/Exec=//;s/^"//;s/" *$//')
|
||||||
|
|
||||||
if ! [ -z "$@" ]; then
|
if ! [ -z "$@" ]; then
|
||||||
cmd=$(echo "$cmd" | sed "s/%[fu]/$1/;s/%[FU]/$@/")
|
cmd=$(echo "$cmd" | sed "s/%[fu]/$1/;s/%[FU]/$@/")
|
||||||
|
Loading…
Reference in New Issue
Block a user