mirror of
https://github.com/chmln/handlr.git
synced 2025-03-16 02:15:54 +01:00
parent
03a40d64cc
commit
e867ffe1c4
1 changed files with 3 additions and 2 deletions
|
@ -128,8 +128,9 @@ impl DesktopEntry {
|
|||
let replaced = self
|
||||
.exec
|
||||
.replace("%f", &arg)
|
||||
.replace("%U", &arg)
|
||||
.replace("%F", &arg);
|
||||
.replace("%F", &arg)
|
||||
.replace("%u", &arg)
|
||||
.replace("%U", &arg);
|
||||
|
||||
let mut split = shlex::split(&replaced).ok_or(Error::BadCmd)?;
|
||||
Ok((split.remove(0), split))
|
||||
|
|
Loading…
Add table
Reference in a new issue