diff --git a/Data~/ModifiedUnityAssemblies/2021.3.6/UnityEditor.CoreModule-Mac.dll.bytes b/Data~/ModifiedUnityAssemblies/2021.3.6/UnityEditor.CoreModule-Mac.dll.bytes deleted file mode 100644 index 36075c1..0000000 Binary files a/Data~/ModifiedUnityAssemblies/2021.3.6/UnityEditor.CoreModule-Mac.dll.bytes and /dev/null differ diff --git a/Data~/ModifiedUnityAssemblies/2021.3.6/UnityEditor.CoreModule-Mac.dll.bytes.meta b/Data~/ModifiedUnityAssemblies/2021.3.6/UnityEditor.CoreModule-Mac.dll.bytes.meta deleted file mode 100644 index 1a99f77..0000000 --- a/Data~/ModifiedUnityAssemblies/2021.3.6/UnityEditor.CoreModule-Mac.dll.bytes.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f42c0f03663d4c14f8a49912c08a514f -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Data~/ModifiedUnityAssemblies/2021.3.6/UnityEditor.CoreModule-Win.dll.bytes b/Data~/ModifiedUnityAssemblies/2021.3.6/UnityEditor.CoreModule-Win.dll.bytes deleted file mode 100644 index a8176cb..0000000 Binary files a/Data~/ModifiedUnityAssemblies/2021.3.6/UnityEditor.CoreModule-Win.dll.bytes and /dev/null differ diff --git a/Data~/ModifiedUnityAssemblies/2021.3.6/UnityEditor.CoreModule-Win.dll.bytes.meta b/Data~/ModifiedUnityAssemblies/2021.3.6/UnityEditor.CoreModule-Win.dll.bytes.meta deleted file mode 100644 index 6a4c423..0000000 --- a/Data~/ModifiedUnityAssemblies/2021.3.6/UnityEditor.CoreModule-Win.dll.bytes.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b3b3b1f0cbc038149acb4d23bc6d5bf5 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Editor/Installer/BashUtil.cs b/Editor/Installer/BashUtil.cs index 08cef29..565f228 100644 --- a/Editor/Installer/BashUtil.cs +++ b/Editor/Installer/BashUtil.cs @@ -41,7 +41,7 @@ namespace HybridCLR.Editor.Installer p.StartInfo.CreateNoWindow = true; p.StartInfo.RedirectStandardOutput = true; p.StartInfo.RedirectStandardError = true; - string argsStr = string.Join(" ", args.Select(arg => "\"" + arg + "\"")); + string argsStr = string.Join(" ", args); p.StartInfo.Arguments = argsStr; if (log) { @@ -56,15 +56,6 @@ namespace HybridCLR.Editor.Installer } } - public static bool ExistProgram(string prog) - { -#if UNITY_EDITOR_WIN - return RunCommand(".", "where", new string[] {prog}) == 0; -#elif UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX - return RunCommand(".", "which", new string[] {prog}) == 0; -#endif - } - public static void RemoveDir(string dir, bool log = false) { diff --git a/Editor/Installer/InstallerController.cs b/Editor/Installer/InstallerController.cs index 97255df..c2e255e 100644 --- a/Editor/Installer/InstallerController.cs +++ b/Editor/Installer/InstallerController.cs @@ -220,13 +220,6 @@ namespace HybridCLR.Editor.Installer private void RunInitLocalIl2CppData(string editorIl2cppPath, UnityVersion version, string hybridclrVer, string il2cppPlusVer) { -#if UNITY_EDITOR_WIN - if (!BashUtil.ExistProgram("git")) - { - throw new Exception($"安装本地il2cpp需要使用git从远程拉取仓库,请先安装git"); - } -#endif - string workDir = SettingsUtil.HybridCLRDataDir; Directory.CreateDirectory(workDir); //BashUtil.RecreateDir(workDir); diff --git a/package.json b/package.json index f4bb106..296f127 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.focus-creative-games.hybridclr_unity", - "version": "1.1.18", + "version": "1.1.19", "displayName": "HybridCLR", "description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR", "category": "Runtime",