From 185e73c26a7eac0e581f30abbb6ef8a2a6dda26b Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 3 Jul 2023 22:12:55 +0800 Subject: [PATCH] Update index.py --- plugins/tgbot/index.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/tgbot/index.py b/plugins/tgbot/index.py index 21f16a44d..95c1cbf19 100755 --- a/plugins/tgbot/index.py +++ b/plugins/tgbot/index.py @@ -171,6 +171,12 @@ def reload(): content = mw.readFile(tgbot_tpl) mw.writeFile(tgbot_dst, content) + tgpush_tpl = getPluginDir() + '/startup/tgpush.py' + tgpush_dst = getServerDir() + '/tgpush.py' + + content = mw.readFile(tgpush_tpl) + mw.writeFile(tgpush_dst, content) + ext_src = getPluginDir() + '/startup/extend' ext_dst = getServerDir()