#!/usr/bin/env sh

# $1 - папка
# $2 - URL
# $3 - version

cat << EOF > ./${1}/version.json
{
    "version": "${3}",
    "name": "${3}",
    "date": "2023.12.12",
    "device_type": "panel_v4",
    "description": "<ul><li>no text</li></ul>",
    "url_address": "${2}"
}
EOF