mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
Fixed il2cpu.exe install bug
This commit is contained in:
parent
890631162a
commit
76002f74e4
2 changed files with 5 additions and 3 deletions
|
|
@ -176,7 +176,7 @@ namespace Cosmos.Build.MSBuild {
|
||||||
}
|
}
|
||||||
return base.ExecuteTool(WorkingDir,
|
return base.ExecuteTool(WorkingDir,
|
||||||
Path.Combine(CosmosBuildDir, @"IL2CPU\IL2CPU.exe"),
|
Path.Combine(CosmosBuildDir, @"IL2CPU\IL2CPU.exe"),
|
||||||
Arguments.TrimEnd(' '),
|
Arguments,
|
||||||
"IL2CPU");
|
"IL2CPU");
|
||||||
|
|
||||||
// return mTask.Execute();
|
// return mTask.Execute();
|
||||||
|
|
|
||||||
|
|
@ -24,9 +24,11 @@ namespace IL2CPU
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
var tmp = "";
|
||||||
foreach (var s in args)
|
foreach (var s in args)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
tmp += s;
|
||||||
string[] s1 = s.Split(':');
|
string[] s1 = s.Split(':');
|
||||||
string argID = s1[0].ToLower();
|
string argID = s1[0].ToLower();
|
||||||
if (argID != "References".ToLower())
|
if (argID != "References".ToLower())
|
||||||
|
|
@ -40,7 +42,7 @@ namespace IL2CPU
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
File.WriteAllText("C:\\Users\\Emile\\Desktop\\dump.txt",tmp);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var xTask = new IL2CPUTask();
|
var xTask = new IL2CPUTask();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue