From 9bdc57fd883cc58bc54daa56f69b93a759d13844 Mon Sep 17 00:00:00 2001 From: cneicy Date: Wed, 26 Aug 2026 12:02:48 +0800 Subject: [PATCH] fix(installer): resolve updated manifests --- Editor/ShrinkSdkInstallerWindow.cs | 8 ++++++-- README.md | 2 +- package.json | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Editor/ShrinkSdkInstallerWindow.cs b/Editor/ShrinkSdkInstallerWindow.cs index 192205e..bbce3b3 100644 --- a/Editor/ShrinkSdkInstallerWindow.cs +++ b/Editor/ShrinkSdkInstallerWindow.cs @@ -97,7 +97,9 @@ namespace ShrinkSDK.Installer try { 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) { @@ -110,8 +112,10 @@ namespace ShrinkSDK.Installer try { ShrinkSdkManifestStore.EnsurePackageInstallation(entry); + _listRequest = null; + Client.Resolve(); 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); } catch (Exception exception) diff --git a/README.md b/README.md index aa82206..cb1764a 100644 --- a/README.md +++ b/README.md @@ -9,5 +9,5 @@ The installer does not copy templates into `Assets`, does not store credentials, ## Bootstrap URL ```text -https://git.crash.work/ShrinkSDK/Installer.git#v0.1.6 +https://git.crash.work/ShrinkSDK/Installer.git#v0.1.7 ``` diff --git a/package.json b/package.json index 0bae085..35593f8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.cneicy.shrink-installer", - "version": "0.1.6", + "version": "0.1.7", "displayName": "ShrinkSDK Installer", "description": "ShrinkSDK registry bootstrapper and fixed-version package installer.", "unity": "2022.3",