diff --git a/README.md b/README.md index 5a8c941..427e37a 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ - 自助分章节点播,颗粒度到小节 - 平台记录观看进度,安全有效 - 关闭页面后自动记录当前进度,下次打开后继续观看 +- 支持最小化 & 调整窗体大小 +- 无隐私泄露,不记录用户信息 ## Author diff --git a/src/components/dialog.ts b/src/components/dialog.ts index ae183ff..813487f 100644 --- a/src/components/dialog.ts +++ b/src/components/dialog.ts @@ -1,6 +1,7 @@ import { addDialogButtons } from "../utils/dialog.util"; import { addDraggableFeature, addMinimizeFeature } from "../utils/window.util"; import { listenListAppear } from "../utils/lessons.util"; +import { consoleLicense } from "../utils/license.util"; export function createDialog() { const dialog = document.createElement("div"); @@ -29,4 +30,5 @@ function createDialogContent() { `; } -listenListAppear(); \ No newline at end of file +listenListAppear(); +consoleLicense(); \ No newline at end of file diff --git a/src/utils/license.util.ts b/src/utils/license.util.ts new file mode 100644 index 0000000..1e6a015 --- /dev/null +++ b/src/utils/license.util.ts @@ -0,0 +1,8 @@ +export function consoleLicense() { + console.log( + "%c5Y Helper © Wibus%c\n%c发布于 AGPLv3 许可下。创建于 2024年10月22日", + "color: #ff6b6b; font-size: 20px; font-weight: bold;", + "", + "color: #4ecdc4; font-style: italic;" + ); +}