mirror of https://github.com/koreader/koreader
Startup script tweaks.
Make the user's custom fonts available to Koreader. Handle both SyV & upstart properly Handle the 'no framework' mode on upstart systems, even through KUAL. Plug the 'no framework' mode to the KUAL extension. This is a mix of some stuff I completely forgot I had in my tree, and what Aeris did for http://www.mobileread.com/forums/showthread.php?t=223684 Tested on a Touch.pull/294/head
parent
92c4d0cd34
commit
5cab12dfc1
@ -1,12 +1,33 @@
|
|||||||
{
|
{
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"name": "Koreader",
|
"name": "Koreader",
|
||||||
"priority": 0,
|
"priority": 0,
|
||||||
"items": [
|
"items": [
|
||||||
{"name": "Start in documents", "priority": 1, "action": "/mnt/us/koreader/koreader.sh", "params": "/mnt/us/documents"},
|
{
|
||||||
{"name": "Open last document", "priority": 2, "action": "/mnt/us/koreader/koreader.sh"}
|
"name": "Start in documents",
|
||||||
]
|
"priority": 1,
|
||||||
|
"action": "/mnt/us/koreader/koreader.sh",
|
||||||
|
"params": "/mnt/us/documents"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Open last document",
|
||||||
|
"priority": 2,
|
||||||
|
"action": "/mnt/us/koreader/koreader.sh"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Start without framework",
|
||||||
|
"priority": 3,
|
||||||
|
"action": "/mnt/us/koreader/koreader.sh",
|
||||||
|
"params": "--framework_stop /mnt/us/documents"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Open last document without framework",
|
||||||
|
"priority": 4,
|
||||||
|
"action": "/mnt/us/koreader/koreader.sh",
|
||||||
|
"params": "--framework_stop"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue