View Single Post
Old 02-27-2013, 05:08 PM   #40
stepk
Groupie
stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.
 
Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
Quote:
Originally Posted by DuckieTigger View Post
Fair enough. Have to see how KUAL will change in future - priorities, sorting, grouping - it just going to have to do it without physically moving existing extensions around.
KUAL looks for valid extensions this way:

1. find all config.xml files under /mnt/us/extensions/ and ./extensions/
1.2. if the current config.xml file doesn't include a "name" property goto 1
1.3. if the "menu" property of this valid config.xml file isn't "json" then goto 1
1.4. if the "menu" property is an absolute path goto 1.5, if it's a relative path make it relative to the location of its config.xml folder
1.5. if the absolute/relative path of this menu.json file is valid process the json file else goto 1

Note: ./extensions in step 1 comes in handy for testing KUAL. Its actual location isn't accessible to end users unless they install usbnetwork.
stepk is offline   Reply With Quote