From f0230149ce7e4c15017820d2cc1efbba7d3e9f04 Mon Sep 17 00:00:00 2001 From: walon Date: Fri, 9 Dec 2022 18:17:42 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E5=A4=8DmacOS=E4=B8=8B?= =?UTF-8?q?=E9=A1=B9=E7=9B=AEUnity=E7=89=88=E6=9C=AC=E4=B8=8EHybridCLR?= =?UTF-8?q?=E8=A6=81=E6=B1=82=E7=89=88=E6=9C=AC=E4=B8=8D=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E6=97=B6=E5=B0=9D=E8=AF=95=E6=89=AB=E6=8F=8F=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E7=9A=84=E7=9B=AE=E5=BD=95=E5=B1=82=E7=BA=A7?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/Installer/InstallerController.cs | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",