完成配置迁移、插件安全整改与初始化向导优化

This commit is contained in:
xuans committed 2026-08-29 23:44:56 +08:00
1 parent ce1b557ea9
commit 84440d8761
71 files changed
+14140 -836

No files matched your search

+2 -6
View File
@@ -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()
}