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
|
else
|
||||||
cmdline = cmdline:gsub('%%i', '')
|
cmdline = cmdline:gsub('%%i', '')
|
||||||
end
|
end
|
||||||
if program.Terminal == "true" then
|
if program.Terminal == true then
|
||||||
cmdline = utils.terminal .. ' -e ' .. cmdline
|
cmdline = utils.terminal .. ' -e ' .. cmdline
|
||||||
end
|
end
|
||||||
program.cmdline = cmdline
|
program.cmdline = cmdline
|
||||||
|
|
Loading…
Reference in New Issue