Tool-Tree

Add-on file format

Internal structure of add-on file

file.add
└── (contents inside the file)
    ├── addon.sh
    ├── icon.png (256×256)
    ├── menu.sh|menu.xml
    ├── index.sh|index.xml
    ├── install.sh
    └── addon/

Contents of addon.sh file

# is a shell script file

id=test
author=Kakathic
version=1.0
versionCode=100
web=https://zenlua.github.io/Tool-Tree/Instruct.html

langen(){
name="Test"
description="Test add-on 1"
}

langvi(){
name="Thử nghiệm"
description="Mẫu thử nghiệm 1"
}

case "$LANGUAGE" in
    "vi")
    langvi;
    ;;
    *)
    langen;
    ;;
esac

Add-on icon

Content inside menu.sh, menu.xml

Content inside index.sh, index.xml

If there is an install.sh file in the add-on

Download: Sample 1