fix(installer): resolve updated manifests
Publish UPM package / publish (push) Successful in 3s

This commit is contained in:
2026-08-26 12:02:48 +08:00
parent c346eef5b2
commit 9bdc57fd88
3 changed files with 8 additions and 4 deletions
+6 -2
View File
@@ -97,7 +97,9 @@ namespace ShrinkSDK.Installer
try try
{ {
ShrinkSdkManifestStore.EnsureShrinkSdkRegistry(); ShrinkSdkManifestStore.EnsureShrinkSdkRegistry();
SetStatus("Registry configuration written. Unity will resolve the updated manifest.", MessageType.Info); _listRequest = null;
Client.Resolve();
SetStatus("Registry configuration written. Unity is resolving packages.", MessageType.Info);
} }
catch (Exception exception) catch (Exception exception)
{ {
@@ -110,8 +112,10 @@ namespace ShrinkSDK.Installer
try try
{ {
ShrinkSdkManifestStore.EnsurePackageInstallation(entry); ShrinkSdkManifestStore.EnsurePackageInstallation(entry);
_listRequest = null;
Client.Resolve();
SetStatus( SetStatus(
"Pinned " + entry.PackageName + " " + entry.Version + " in Packages/manifest.json. Unity will resolve the updated manifest.", "Pinned " + entry.PackageName + " " + entry.Version + " in Packages/manifest.json. Unity is resolving packages.",
MessageType.Info); MessageType.Info);
} }
catch (Exception exception) catch (Exception exception)
+1 -1
View File
@@ -9,5 +9,5 @@ The installer does not copy templates into `Assets`, does not store credentials,
## Bootstrap URL ## Bootstrap URL
```text ```text
https://git.crash.work/ShrinkSDK/Installer.git#v0.1.6 https://git.crash.work/ShrinkSDK/Installer.git#v0.1.7
``` ```
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "com.cneicy.shrink-installer", "name": "com.cneicy.shrink-installer",
"version": "0.1.6", "version": "0.1.7",
"displayName": "ShrinkSDK Installer", "displayName": "ShrinkSDK Installer",
"description": "ShrinkSDK registry bootstrapper and fixed-version package installer.", "description": "ShrinkSDK registry bootstrapper and fixed-version package installer.",
"unity": "2022.3", "unity": "2022.3",