add lang and type metadata

This commit is contained in:
Evgeny
2021-08-13 12:11:16 +03:00
parent 78afb6e1b0
commit 5b52c518c1
6 changed files with 11 additions and 0 deletions

5
gen_zip.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
rm -rf scripts.zip
zip -r scripts.zip -j main/*.lua community/*.lua ru/*.lua
md5sum scripts.zip | cut -d " " -f 1 > scripts.md5

View File

@@ -2,6 +2,7 @@
-- description = "Виджет отображает предстоящие праздники." -- description = "Виджет отображает предстоящие праздники."
-- data_source = "https://date.nager.at/" -- data_source = "https://date.nager.at/"
-- type = "widget" -- type = "widget"
-- lang = "ru"
-- author = "Andrey Gavrilov" -- author = "Andrey Gavrilov"
-- version = "1.0" -- version = "1.0"

View File

@@ -2,6 +2,7 @@
-- description = "Показывает, выходной ли сегодня день." -- description = "Показывает, выходной ли сегодня день."
-- data_source = "isdayoff.ru" -- data_source = "isdayoff.ru"
-- type = "widget" -- type = "widget"
-- lang = "ru"
-- author = "Evgeny Zobnin (zobnin@gmail.com)" -- author = "Evgeny Zobnin (zobnin@gmail.com)"
-- version = "1.0" -- version = "1.0"

View File

@@ -2,6 +2,7 @@
-- description = "Рандомные цитаты на русском языке." -- description = "Рандомные цитаты на русском языке."
-- data_source = "forismatic.com" -- data_source = "forismatic.com"
-- type = "widget" -- type = "widget"
-- lang = "ru"
-- author = "Evgeny Zobnin (zobnin@gmail.com)" -- author = "Evgeny Zobnin (zobnin@gmail.com)"
-- version = "1.0" -- version = "1.0"

View File

@@ -1,6 +1,7 @@
-- name = "Включение виджетов" -- name = "Включение виджетов"
-- description = "Включает и отключает виджеты на экране при нажатии на кнопки" -- description = "Включает и отключает виджеты на экране при нажатии на кнопки"
-- type = "widget" -- type = "widget"
-- lang = "ru"
-- author = "Andrey Gavrilov" -- author = "Andrey Gavrilov"
-- version = "1.0" -- version = "1.0"
-- arguments_help = "Введите список виджетов и кнопок в формате bitcoin:Биткойн timer:Таймер" -- arguments_help = "Введите список виджетов и кнопок в формате bitcoin:Биткойн timer:Таймер"

View File

@@ -1,3 +1,5 @@
-- type = "module"
local module = {} local module = {}
function module.hello_world() function module.hello_world()