add xmlprofile v1

This commit is contained in:
Pakin 2023-11-02 08:56:52 +07:00
parent 3e9312dc30
commit 99cf8cbe5f
2 changed files with 70 additions and 0 deletions

30
xmlprofile/idea.txt Normal file
View file

@ -0,0 +1,30 @@
# Note
XMLProfile v1
```
adb shell
mkdir /sdcard/coffeevending/xmlprofile
adb push ./xmlprofile/sample_design1.json /sdcard/coffeevending/xmlprofile/main.json
```
- JSON structure
** modifiers ** not used yet!
```
{
"ProfileName":{
"enable": "true | false",
"except": [
"BoxID that this profile cannot apply to"
],
"modifiers": [
"apply_to=( all_menus | restricted_menus | ... )", // Work In Progress, this will apply the profile to the following options only.
"# This is comment"
]
}
}
```