diff --git a/src/renderer.js b/src/renderer.js index 9b608d1..bc9a9a6 100644 --- a/src/renderer.js +++ b/src/renderer.js @@ -478,6 +478,12 @@ export const onSettingWindowCreated = async view => { console.error(error); }); + // tg 频道 + const tgChannel = view.querySelector("#deepl-tg-channel"); + tgChannel.addEventListener("click", () => { + deepl_plugin.openWeb("https://t.me/MUKAPP_Personal"); + }); + } catch (error) { log("[设置页面错误]", error); } diff --git a/src/settings.html b/src/settings.html index ba0c2ae..523e33b 100644 --- a/src/settings.html +++ b/src/settings.html @@ -128,6 +128,13 @@ 去更新 + +
+ Telegram 频道 + https://t.me/MUKAPP_Personal +
+ 进去瞅瞅 +
\ No newline at end of file