完成配置迁移、插件安全整改与初始化向导优化
This commit is contained in:
1 parent
ce1b557ea9
commit
84440d8761
71 files changed
+14140
-836
No files matched your search
@@ -1,17 +1,13 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/Jinnrry/pmail/hooks/framework"
|
||||
"github.com/ydzydzydz/pmail_telegram_push/config"
|
||||
"git.pcux.cn/xuans/Smail/hooks/framework"
|
||||
"github.com/ydzydzydz/pmail_telegram_push/hook"
|
||||
)
|
||||
|
||||
func main() {
|
||||
// 读取配置
|
||||
cfg := config.ReadConfig()
|
||||
// 启动插件
|
||||
framework.CreatePlugin(
|
||||
hook.PLUGIN_NAME,
|
||||
hook.NewPmailTelegramPushHook(cfg),
|
||||
hook.NewPmailTelegramPushHook(),
|
||||
).Run()
|
||||
}
|
||||
Reference in new issue
Block a user