mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 12:58:39 +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,
|
||||
Path.Combine(CosmosBuildDir, @"IL2CPU\IL2CPU.exe"),
|
||||
Arguments.TrimEnd(' '),
|
||||
Arguments,
|
||||
"IL2CPU");
|
||||
|
||||
// return mTask.Execute();
|
||||
|
|
|
|||
|
|
@ -23,10 +23,12 @@ namespace IL2CPU
|
|||
private static void Main(string[] args)
|
||||
{
|
||||
|
||||
|
||||
|
||||
var tmp = "";
|
||||
foreach (var s in args)
|
||||
{
|
||||
|
||||
tmp += s;
|
||||
string[] s1 = s.Split(':');
|
||||
string argID = s1[0].ToLower();
|
||||
if (argID != "References".ToLower())
|
||||
|
|
@ -40,7 +42,7 @@ namespace IL2CPU
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
File.WriteAllText("C:\\Users\\Emile\\Desktop\\dump.txt",tmp);
|
||||
try
|
||||
{
|
||||
var xTask = new IL2CPUTask();
|
||||
|
|
|
|||
Loading…
Reference in a new issue