feat(installer): rebuild package manager with ui toolkit
Publish UPM package / publish (push) Successful in 2s

This commit is contained in:
2026-08-26 12:48:35 +08:00
parent 9bdc57fd88
commit 96480dd488
8 changed files with 702 additions and 135 deletions
+12 -6
View File
@@ -1,13 +1,19 @@
# ShrinkSDK Installer
# ShrinkSDK 包管理
`com.cneicy.shrink-installer` is the Git URL bootstrap package for ShrinkSDK.
`com.cneicy.shrink-installer` 是 ShrinkSDK 的固定版本引导包。通过不可变 Git 标签安装后,在 Unity 中打开 `ShrinkSDK/包管理`
Install the package from an immutable tag, then open `ShrinkSDK/Packages` in the Unity editor. The window merges the public ShrinkSDK scoped registry without replacing other registries and writes only catalogue-pinned dependencies to `Packages/manifest.json`. Packages which require UniTask also receive its fixed Git revision.
窗口使用 UI Toolkit 构建,提供:
The installer does not copy templates into `Assets`, does not store credentials, and does not add an unpinned package version.
- 当前项目直接与间接依赖的真实安装状态;
- 已安装版本与目录固定版本的对比;
-`Context` 组合基础、应用与组合根、独立功能、模块集成、编译工具为层级的全部包列表;
- 基础应用、Context 最小基座、Context 应用宿主、事件与命令、存档、网络、模组开发、常用完整套件八种组合;
- 保留既有 scoped registry 的安全合并,以及固定版本安装或版本切换。
## Bootstrap URL
安装器只修改 `Packages/manifest.json` 的 registry 与依赖数据,不写认证信息,不复制模板到 `Assets`,也不添加浮动版本。需要 UniTask 的安装入口会同时固定到目录指定的 Git revision。
## 引导地址
```text
https://git.crash.work/ShrinkSDK/Installer.git#v0.1.7
https://git.crash.work/ShrinkSDK/Installer.git#v0.2.0
```