diff --git a/docs/.vitepress/vitepress-plugin-github-issues.mts b/docs/.vitepress/vitepress-plugin-github-issues.mts index 0fe6c6f..731481a 100644 --- a/docs/.vitepress/vitepress-plugin-github-issues.mts +++ b/docs/.vitepress/vitepress-plugin-github-issues.mts @@ -126,12 +126,12 @@ function clearDirectory(dir: string) { } } -function copyReadmeFile(source: string, destination: string) { +function copyFile(source: string, destination: string) { if (fs.existsSync(source)) { fs.copyFileSync(source, destination); - console.log(`Copied README.md from ${source} to ${destination}`); + console.log(`Copied file from ${source} to ${destination}`); } else { - console.error(`README.md not found at ${source}`); + console.error(`file not found at ${source}`); } } @@ -176,7 +176,12 @@ export default function GitHubIssuesPlugin(options: GitHubIssuesPluginOptions): // 拷贝 ../README.md 文件到当前目录 const readmeSource = path.join(process.cwd(), '../README.md'); const readmeDestination = path.join(docsDir, 'index.md'); - copyReadmeFile(readmeSource, readmeDestination); + copyFile(readmeSource, readmeDestination); + + // 拷贝 ../CHANGELOG.md 文件到当前目录 + const changelogSource = path.join(process.cwd(), '../CHANGELOG.md'); + const changelogDestination = path.join(docsDir, 'changelog.md'); + copyFile(changelogSource, changelogDestination); for (const issue of issues) { // 仅处理包含 "文档" 标签的 issue diff --git a/xiaomusic/static/default/debug.html b/xiaomusic/static/default/debug.html index 8861bfa..426ba4d 100644 --- a/xiaomusic/static/default/debug.html +++ b/xiaomusic/static/default/debug.html @@ -73,6 +73,6 @@ function sendDebugCmd() { diff --git a/xiaomusic/static/default/index.html b/xiaomusic/static/default/index.html index bc63147..41a0120 100644 --- a/xiaomusic/static/default/index.html +++ b/xiaomusic/static/default/index.html @@ -26,7 +26,7 @@

小爱音箱播放器 - 版本 + 版本 1.0.0

diff --git a/xiaomusic/static/default/m3u.html b/xiaomusic/static/default/m3u.html index 54bbb01..a670fd6 100644 --- a/xiaomusic/static/default/m3u.html +++ b/xiaomusic/static/default/m3u.html @@ -72,7 +72,7 @@ function convertToJSON() { diff --git a/xiaomusic/static/default/setting.html b/xiaomusic/static/default/setting.html index 511f394..0190e43 100644 --- a/xiaomusic/static/default/setting.html +++ b/xiaomusic/static/default/setting.html @@ -31,9 +31,7 @@ var vConsole = new window.VConsole();

小爱音箱设置面板 - ( - 版本未知 - ) + (版本未知)


@@ -271,7 +269,7 @@ var vConsole = new window.VConsole(); 请涵曦喝奶茶🧋
diff --git a/xiaomusic/static/default_past/debug.html b/xiaomusic/static/default_past/debug.html index 0316503..da92b94 100644 --- a/xiaomusic/static/default_past/debug.html +++ b/xiaomusic/static/default_past/debug.html @@ -69,6 +69,6 @@ function sendDebugCmd() { diff --git a/xiaomusic/static/default_past/index.html b/xiaomusic/static/default_past/index.html index 5c8b15b..fe50cb2 100644 --- a/xiaomusic/static/default_past/index.html +++ b/xiaomusic/static/default_past/index.html @@ -30,7 +30,7 @@ var vConsole = new window.VConsole();

小爱音箱操控面板 - (版本未知) + (版本未知)


@@ -95,7 +95,7 @@ var vConsole = new window.VConsole();
diff --git a/xiaomusic/static/default_past/m3u.html b/xiaomusic/static/default_past/m3u.html index 418cea7..e68627d 100644 --- a/xiaomusic/static/default_past/m3u.html +++ b/xiaomusic/static/default_past/m3u.html @@ -72,7 +72,7 @@ function convertToJSON() { diff --git a/xiaomusic/static/default_past/setting.html b/xiaomusic/static/default_past/setting.html index c1ee8dc..82d2688 100644 --- a/xiaomusic/static/default_past/setting.html +++ b/xiaomusic/static/default_past/setting.html @@ -30,9 +30,7 @@ var vConsole = new window.VConsole();

小爱音箱设置面板 - ( - 版本未知 - ) + (版本未知)


@@ -266,7 +264,7 @@ var vConsole = new window.VConsole(); 请涵曦喝奶茶🧋 diff --git a/xiaomusic/static/index.html b/xiaomusic/static/index.html index b67c855..57996f6 100644 --- a/xiaomusic/static/index.html +++ b/xiaomusic/static/index.html @@ -73,7 +73,7 @@