diff --git a/Editor/Installer/InstallerController.cs b/Editor/Installer/InstallerController.cs index 2bcac40..2a119f0 100644 --- a/Editor/Installer/InstallerController.cs +++ b/Editor/Installer/InstallerController.cs @@ -181,7 +181,7 @@ namespace HybridCLR.Editor.Installer Il2CppInstallDirectory = $"{curAppInstallPath}/Contents/il2cpp"; return; } - string unityHubRootDir = Directory.GetParent(curAppInstallPath).Parent.Parent.ToString(); + string unityHubRootDir = Directory.GetParent(curAppInstallPath).Parent.ToString(); foreach (var unityInstallDir in Directory.GetDirectories(unityHubRootDir, "*", SearchOption.TopDirectoryOnly)) { Debug.Log("nity install dir:" + unityInstallDir); diff --git a/package.json b/package.json index c5c7fff..55fedfa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.focus-creative-games.hybridclr_unity", - "version": "1.0.4", + "version": "1.0.5", "displayName": "HybridCLR", "description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR", "category": "Runtime",