2 Commits
Author SHA1 Message Date
cneicy 9bdc57fd88 fix(installer): resolve updated manifests
Publish UPM package / publish (push) Successful in 3s
2026-08-26 12:02:48 +08:00
cneicy c346eef5b2 fix(installer): tolerate diagnostics during resolution
Publish UPM package / publish (push) Successful in 6s
2026-08-26 11:56:13 +08:00
3 changed files with 10 additions and 3 deletions
+8 -1
View File
@@ -82,7 +82,12 @@ namespace ShrinkSDK.Installer
}
else
{
SetStatus("Package diagnostics failed: " + request.Error.message, MessageType.Warning);
var errorMessage = request.Error?.message;
SetStatus(
string.IsNullOrWhiteSpace(errorMessage)
? "Package diagnostics did not complete while Unity was resolving packages. Refresh diagnostics after resolution completes."
: "Package diagnostics failed: " + errorMessage,
MessageType.Warning);
}
}
}
@@ -92,6 +97,7 @@ namespace ShrinkSDK.Installer
try
{
ShrinkSdkManifestStore.EnsureShrinkSdkRegistry();
_listRequest = null;
Client.Resolve();
SetStatus("Registry configuration written. Unity is resolving packages.", MessageType.Info);
}
@@ -106,6 +112,7 @@ namespace ShrinkSDK.Installer
try
{
ShrinkSdkManifestStore.EnsurePackageInstallation(entry);
_listRequest = null;
Client.Resolve();
SetStatus(
"Pinned " + entry.PackageName + " " + entry.Version + " in Packages/manifest.json. Unity is resolving packages.",
+1 -1
View File
@@ -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.5
https://git.crash.work/ShrinkSDK/Installer.git#v0.1.7
```
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "com.cneicy.shrink-installer",
"version": "0.1.5",
"version": "0.1.7",
"displayName": "ShrinkSDK Installer",
"description": "ShrinkSDK registry bootstrapper and fixed-version package installer.",
"unity": "2022.3",