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