diff --git a/gen_zip.sh b/gen_zip.sh new file mode 100755 index 0000000..a8aec92 --- /dev/null +++ b/gen_zip.sh @@ -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 diff --git a/ru/holydays-ru-widget.lua b/ru/holydays-ru-widget.lua index 029cb24..8462443 100644 --- a/ru/holydays-ru-widget.lua +++ b/ru/holydays-ru-widget.lua @@ -2,6 +2,7 @@ -- description = "Виджет отображает предстоящие праздники." -- data_source = "https://date.nager.at/" -- type = "widget" +-- lang = "ru" -- author = "Andrey Gavrilov" -- version = "1.0" diff --git a/ru/isdayoff-ru-widget.lua b/ru/isdayoff-ru-widget.lua index 6356226..4ec70e6 100644 --- a/ru/isdayoff-ru-widget.lua +++ b/ru/isdayoff-ru-widget.lua @@ -2,6 +2,7 @@ -- description = "Показывает, выходной ли сегодня день." -- data_source = "isdayoff.ru" -- type = "widget" +-- lang = "ru" -- author = "Evgeny Zobnin (zobnin@gmail.com)" -- version = "1.0" diff --git a/ru/quotes-ru-widget.lua b/ru/quotes-ru-widget.lua index 0ae7562..5d16208 100644 --- a/ru/quotes-ru-widget.lua +++ b/ru/quotes-ru-widget.lua @@ -2,6 +2,7 @@ -- description = "Рандомные цитаты на русском языке." -- data_source = "forismatic.com" -- type = "widget" +-- lang = "ru" -- author = "Evgeny Zobnin (zobnin@gmail.com)" -- version = "1.0" diff --git a/ru/widgets-on-off.lua b/ru/widgets-on-off.lua index 44929ac..2f6b62b 100644 --- a/ru/widgets-on-off.lua +++ b/ru/widgets-on-off.lua @@ -1,6 +1,7 @@ -- name = "Включение виджетов" -- description = "Включает и отключает виджеты на экране при нажатии на кнопки" -- type = "widget" +-- lang = "ru" -- author = "Andrey Gavrilov" -- version = "1.0" -- arguments_help = "Введите список виджетов и кнопок в формате bitcoin:Биткойн timer:Таймер" diff --git a/samples/module.lua b/samples/module.lua index 953013d..5d6e533 100644 --- a/samples/module.lua +++ b/samples/module.lua @@ -1,3 +1,5 @@ +-- type = "module" + local module = {} function module.hello_world()