mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fix openLink on linux (#6161)
This commit is contained in:
@@ -56,7 +56,7 @@ local Device = Generic:new{
|
||||
openLink = function(self, link)
|
||||
local enabled, tool = getLinkOpener()
|
||||
if not enabled or not tool or not link or type(link) ~= "string" then return end
|
||||
return os.execute(tool.." '"..link.."'") == 0
|
||||
return os.execute('LD_LIBRARY_PATH="" '..tool.." '"..link.."'") == 0
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user