program.Terminal is a boolean, not a string (#2239)
This commit is contained in:
parent
f2bac50198
commit
6617d786b3
|
@ -398,7 +398,7 @@ function utils.parse_desktop_file(file)
|
|||
else
|
||||
cmdline = cmdline:gsub('%%i', '')
|
||||
end
|
||||
if program.Terminal == "true" then
|
||||
if program.Terminal == true then
|
||||
cmdline = utils.terminal .. ' -e ' .. cmdline
|
||||
end
|
||||
program.cmdline = cmdline
|
||||
|
|
Loading…
Reference in New Issue