diff --git a/.github/release-notes/v0.1.2.md b/.github/release-notes/v0.1.2.md new file mode 100644 index 0000000..966c215 --- /dev/null +++ b/.github/release-notes/v0.1.2.md @@ -0,0 +1,25 @@ +## 简体中文 + +`v0.1.2` 是 WTOffline 启动器的维护更新,重点放开「节省空间的复制」对游戏版本的硬锁定、修复维护页更新客户端时的路径校验误报,并内置 `2.61.0.58` 版本核对记录。 + +### 修复与改进 + +- **省空间复制改为跨版本规则。** 取消原先绑定单一版本号(`2.61.0.43`)与 8 MiB 体积门槛的静态哈希清单,改为基于只读资源规则自动共用 `content/` 与 `content.hq/` 下的 `.dxp.bin` 和 `.grp` 资源包;小版本更新后无需等待新清单即可继续省空间安装或转换,且同卷省空间客户端执行「从在线版更新」时会保持或重建硬链接,不再拆分为完整复制。 +- **修复维护页「从在线版更新」误报路径越界。** 扫描安装来源时排除顶层残留的 `wtoffline` 目录;安装向导第 3 步与后台同步拦截将数据目录设为客户端目录或其父目录的配置,并解除旧安装把数据目录放在客户端父目录时的误报;所有路径安全校验失败均在启动器日志中记录具体原因与路径以便排查。 + +### 客户端兼容性 + +支持已核对版本 `2.61.0.37`、`2.61.0.43`、`2.61.0.55` 和 `2.61.0.58`(自带补丁集 `2026.12.02`),并支持按特征码自动尝试适配后续小版本更新。 + +## English + +`v0.1.2` is a maintenance release of the WTOffline Launcher that makes space-saving copies resilient across minor game updates, fixes false path-scope errors during client updates, and bundles the `2.61.0.58` version check record. + +### Fixes and improvements + +- **Version-independent space-saving copies.** Replaced the single-version (`2.61.0.43`) SHA-256 manifest and 8 MiB cutoff with declarative read-only asset rules covering `.dxp.bin` and `.grp` archives under `content/` and `content.hq/`. Space-saving installs and conversions now keep working across minor updates, and updating a same-volume space-saving client preserves or recreates hard links instead of detaching them into full copies. +- **Fix false `maintenance_location` errors when updating.** Ignore stray top-level `wtoffline` folders when scanning a stock source, prevent picking a data folder that equals or contains the client folder during installation (with inline Step 3 validation), stop blocking updates when an existing installation placed `dataPath` at an ancestor of the client folder, and log the exact reason and paths on every path-scope rejection. + +### Client compatibility + +Verified with client versions `2.61.0.37`, `2.61.0.43`, `2.61.0.55`, and `2.61.0.58` (bundled patch set `2026.12.02`), with pattern-based matching for later minor updates. diff --git a/apps/launcher/package.json b/apps/launcher/package.json index 6f172ef..5b1f07f 100644 --- a/apps/launcher/package.json +++ b/apps/launcher/package.json @@ -1,7 +1,7 @@ { "name": "@wto/launcher", "productName": "WTOffline Launcher", - "version": "0.1.1", + "version": "0.1.2", "private": true, "description": "Installer and launcher of the War Thunder offline project.", "type": "module", diff --git a/package-lock.json b/package-lock.json index a0f7695..11d935b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ }, "apps/launcher": { "name": "@wto/launcher", - "version": "0.1.1", + "version": "0.1.2", "dependencies": { "@fontsource/roboto-condensed": "^5.3.0", "@wto/patcher": "*",