mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
remarkable: Restart xovi on exit when KO_USES_XOVI env variable is present
This commit is contained in:
@@ -348,9 +348,9 @@ end
|
||||
function Remarkable:exit()
|
||||
if isRmPaperPro then
|
||||
os.execute("mv -f ~/.config/remarkable/xochitl.conf.bak ~/.config/remarkable/xochitl.conf")
|
||||
if os.getenv("KO_DONT_GRAB_INPUT") == "1" then
|
||||
os.execute("~/xovi/start")
|
||||
end
|
||||
end
|
||||
if os.getenv("KO_USES_XOVI") == "1" then
|
||||
os.execute("~/xovi/start")
|
||||
end
|
||||
Generic.exit(self)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user