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