From 082ff47e6d28ad382f63f0d3f41219c479eb92c7 Mon Sep 17 00:00:00 2001 From: jellejurre Date: Mon, 26 Feb 2024 23:24:12 +0100 Subject: [PATCH 1/2] Fix readme typos (thanks sleightly) --- Readme.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index cb2db46..927c98c 100644 --- a/Readme.md +++ b/Readme.md @@ -14,6 +14,9 @@ VRLabs' Instancing system that copies files over for use in the Assets directory ### ⬇️ [Download Latest Version](https://github.com/VRLabs/Instancer/releases/latest) +### 📦 [Add to VRChat Creator Companion](https://vrlabs.dev/packages?package=dev.vrlabs.instancer) + + --- @@ -33,7 +36,7 @@ VRLabs' Instancing system that copies files over for use in the Assets directory ## Contributors * [Jelle](https://jellejurre.dev) -* + ## License Instancer is available as-is under MIT. For more information see [LICENSE](https://github.com/VRLabs/Instancer/blob/main/LICENSE). From 252faa1f6e1a0f62e939e152a4c93b7bce42b1bd Mon Sep 17 00:00:00 2001 From: jellejurre Date: Tue, 27 Feb 2024 18:13:44 +0100 Subject: [PATCH 2/2] Add refresh so new files can be found --- Instancer.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Instancer.cs b/Instancer.cs index 6366953..1305611 100644 --- a/Instancer.cs +++ b/Instancer.cs @@ -38,6 +38,8 @@ public static string Instance(string packageName, string installFilePath, string CopyFiles(localAssetPaths, sourceFolder, targetFolder); + AssetDatabase.Refresh(); + FixReferences(localAssetPaths, sourceFolder, targetFolder); AssetDatabase.Refresh();