[{"data":1,"prerenderedAt":120},["ShallowReactive",2],{"navigation_docs":3,"-pml-2-plugin":47,"-pml-2-plugin-surround":117},[4,11],{"title":5,"path":6,"stem":7,"children":8},"PML 2 插件开发指南","\u002Fpml-2-plugin","pml-2-plugin\u002Findex",[9],{"title":10,"path":6,"stem":7},"插件开发概览",{"title":12,"path":13,"stem":14,"children":15},"PML 2","\u002Fpml-2","pml-2",[16,19,23,27,31,35,39,43],{"title":17,"path":13,"stem":18},"介绍 & 下载","pml-2\u002Findex",{"title":20,"path":21,"stem":22},"安装","\u002Fpml-2\u002Finstall","pml-2\u002F2.install",{"title":24,"path":25,"stem":26},"用户指南","\u002Fpml-2\u002Fuser_guide","pml-2\u002F3.user_guide",{"title":28,"path":29,"stem":30},"配置文件","\u002Fpml-2\u002Fconfig","pml-2\u002F4.config",{"title":32,"path":33,"stem":34},"主题","\u002Fpml-2\u002Fthemes","pml-2\u002F5.themes",{"title":36,"path":37,"stem":38},"插件开发指南","\u002Fpml-2\u002Fplugin","pml-2\u002F6.plugin",{"title":40,"path":41,"stem":42},"PML 2 隐私政策","\u002Fpml-2\u002Fpolicy","pml-2\u002F7.policy",{"title":44,"path":45,"stem":46},"PML 2 用户协议","\u002Fpml-2\u002Fuser_agreement","pml-2\u002F8.user_agreement",{"id":48,"title":10,"body":49,"description":110,"extension":111,"links":112,"meta":113,"navigation":114,"path":6,"seo":115,"stem":7,"__hash__":116},"docs\u002Fpml-2-plugin\u002Findex.md",{"type":50,"value":51,"toc":104},"minimark",[52,57,89,93],[53,54,56],"h2",{"id":55},"一概述","一、概述",[58,59,60,61,65,66,73,74,79,80,84,85,88],"p",{},"由于自 ",[62,63,64],"badge",{},"26.1"," 起, 我们为 PML 2 启用了",[67,68,72],"a",{"href":69,"rel":70},"https:\u002F\u002Flearn.microsoft.com\u002Fzh-cn\u002Fdotnet\u002Fcore\u002Fdeploying\u002Ftrimming\u002Ftrim-self-contained",[71],"nofollow","裁剪发布","和",[67,75,78],{"href":76,"rel":77},"https:\u002F\u002Flearn.microsoft.com\u002Fzh-cn\u002Fdotnet\u002Fcore\u002Fdeploying\u002Fnative-aot\u002F",[71],"预先编译(Ahead-Of-Time Compilation)",", 传统概念下的",[81,82,83],"strong",{},"基于反射","的插件系统已不再适用于 PML 2。于是, 受到 ",[81,86,87],{},"Github Actions"," 的启发, 我们开发了基于 yaml 的插件系统。",[53,90,92],{"id":91},"二系统简介","二、系统简介",[58,94,95,96,99,100,103],{},"PML 2 的插件系统基于 YAML, 开发者可通过在外部创建 YAML 文件并添加到 PML 2 的插件目录中, 来实现插件功能。",[81,97,98],{},"\"插件\""," 功能是 PML 2 于 ",[62,101,102],{},"26.2"," 添加的一个功能, 旨在提供更多功能和自定义性。通过插件, 用户可以扩展 PML 2 的功能, 添加新的功能和进行自动化。",{"title":105,"searchDepth":106,"depth":106,"links":107},"",2,[108,109],{"id":55,"depth":106,"text":56},{"id":91,"depth":106,"text":92},"本文将粗略介绍 PML 2 的插件系统。","md",null,{},true,{"title":10,"description":110},"_y5zUNbBhgOxzGQkLhUiL4ksDkjHkTFSmsnYPEHikE0",[112,118],{"title":17,"path":13,"stem":18,"description":119,"children":-1},"PML 2是 ME Frp 的第三方客户端之一, 横跨多架构、多平台, 提供了简单便捷的操作, 可以快速启动隧道。",1785934223625]