View Single Post
Old 04-09-2013, 06:28 AM   #695
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Okay. I found it.

Code:
{
"items": [
		{
			"name": "Testy",
			"priority": 1,
			"items": [
		{"name": "FOO RUNNER", "priority": 1, "action": "bin/foo.sh"},
		{"name": "BAH RUNNER", "priority": 2, "action": "bin/bah.sh"},
		{"name": "FUBARRED", "priority": 3, "action": "bin/fubar.sh"}			
			]
		}
	]
}
WILL Work.


Code:
{
"items": [
		{"name": "FOO RUNNER", "priority": 1, "action": "bin/foo.sh"},
		{"name": "BAH RUNNER", "priority": 2, "action": "bin/bah.sh"},
		{"name": "FUBARRED", "priority": 3, "action": "bin/fubar.sh"}	
	]
}
Won't work.

It's related to the formatting of the menu.json...
Reproducible in all instances.

Last edited by twobob; 04-09-2013 at 12:06 PM. Reason: REMOVED TYPO!!!!!!!!!!!!!!!!!!!!!!!!11111111etc etc
twobob is offline   Reply With Quote