parent
5a50778821
commit
dbd8121ee2
Binary file not shown.
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: f42c0f03663d4c14f8a49912c08a514f
|
|
||||||
TextScriptImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: b3b3b1f0cbc038149acb4d23bc6d5bf5
|
|
||||||
TextScriptImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -41,7 +41,7 @@ namespace HybridCLR.Editor.Installer
|
||||||
p.StartInfo.CreateNoWindow = true;
|
p.StartInfo.CreateNoWindow = true;
|
||||||
p.StartInfo.RedirectStandardOutput = true;
|
p.StartInfo.RedirectStandardOutput = true;
|
||||||
p.StartInfo.RedirectStandardError = true;
|
p.StartInfo.RedirectStandardError = true;
|
||||||
string argsStr = string.Join(" ", args.Select(arg => "\"" + arg + "\""));
|
string argsStr = string.Join(" ", args);
|
||||||
p.StartInfo.Arguments = argsStr;
|
p.StartInfo.Arguments = argsStr;
|
||||||
if (log)
|
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)
|
public static void RemoveDir(string dir, bool log = false)
|
||||||
{
|
{
|
||||||
|
|
|
@ -220,13 +220,6 @@ namespace HybridCLR.Editor.Installer
|
||||||
|
|
||||||
private void RunInitLocalIl2CppData(string editorIl2cppPath, UnityVersion version, string hybridclrVer, string il2cppPlusVer)
|
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;
|
string workDir = SettingsUtil.HybridCLRDataDir;
|
||||||
Directory.CreateDirectory(workDir);
|
Directory.CreateDirectory(workDir);
|
||||||
//BashUtil.RecreateDir(workDir);
|
//BashUtil.RecreateDir(workDir);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "com.focus-creative-games.hybridclr_unity",
|
"name": "com.focus-creative-games.hybridclr_unity",
|
||||||
"version": "1.1.18",
|
"version": "1.1.19",
|
||||||
"displayName": "HybridCLR",
|
"displayName": "HybridCLR",
|
||||||
"description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR",
|
"description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR",
|
||||||
"category": "Runtime",
|
"category": "Runtime",
|
||||||
|
|
Loading…
Reference in New Issue