add lang and type metadata
This commit is contained in:
5
gen_zip.sh
Executable file
5
gen_zip.sh
Executable 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
|
||||||
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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:Таймер"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
-- type = "module"
|
||||||
|
|
||||||
local module = {}
|
local module = {}
|
||||||
|
|
||||||
function module.hello_world()
|
function module.hello_world()
|
||||||
|
|||||||
Reference in New Issue
Block a user