fix: publish Godot Installer as content-only package
Publish UPM package / publish (push) Failing after 2s
Publish NuGet packages / publish (push) Successful in 28s

This commit is contained in:
2026-09-05 04:24:17 +08:00
parent 907dda3c8e
commit 3650f9c08b
3 changed files with 10 additions and 7 deletions
+2 -2
View File
@@ -22,10 +22,10 @@ https://git.crash.work/ShrinkSDK/Installer.git#main
## Godot 4.6 C#
Godot Installer 源码和 NuGet 打包工程位于 `Godot~`安装 `ShrinkSDK.Godot.Installer 0.1.1` 后,将包内 `contentFiles/any/any/addons/shrinksdk` 复制到 Godot 项目的 `addons/shrinksdk`,再到 `Project > Project Settings > Plugins` 启用 **ShrinkSDK Installer**
Godot Installer 源码和 NuGet 打包工程位于 `Godot~`取得 `ShrinkSDK.Godot.Installer 0.1.2` 后,将包内 `contentFiles/any/any/addons/shrinksdk` 复制到 Godot 项目的 `addons/shrinksdk`,再到 `Project > Project Settings > Plugins` 启用 **ShrinkSDK Installer**
Godot 面板直接修改项目 `.csproj``PackageReference`,安全合并项目级 `NuGet.Config`,并可执行 `dotnet restore/build`、显示 CodeGen 织入状态。已安装版本高于目录版本时不会执行降级。
```powershell
dotnet pack .\Godot~\ShrinkSDK.Godot.Installer.csproj -c Release --output .\artifacts --include-symbols --include-source
dotnet pack .\Godot~\ShrinkSDK.Godot.Installer.csproj -c Release --output .\artifacts
```