feat: 引入 so-novel submodule 并提供非交互下载工具

- vendor/so-novel: 上游 v1.12.0 (规则驱动的书源抓取/下载引擎)
- tools/src: ToolMain 封装 search/download/toc/sources,stdout 只输出 JSON
- tools/build.ps1: 自动定位/下载 JDK21,按平台显式激活 javet 原生库 profile
- bin/novel.ps1|.cmd: 命令行入口(人读输出或 -Json)
- SKILL.md/README.md: 使用说明与下载原理分析
This commit is contained in:
cheney
2026-11-04 15:12:10 +08:00
commit 221b1f8add
11 changed files with 1372 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
@echo off
rem ebook-skill :: so-novel command line shim for cmd.exe
setlocal
where pwsh >nul 2>nul
if %ERRORLEVEL%==0 (
pwsh -NoProfile -ExecutionPolicy Bypass -File "%~dp0novel.ps1" %*
) else (
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0novel.ps1" %*
)
exit /b %ERRORLEVEL%