mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
36 lines
796 B
C#
36 lines
796 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.IO;
|
|
using System.Diagnostics;
|
|
|
|
namespace Cosmos.Compiler.Builder
|
|
{
|
|
public class MakeVPCStep : BuilderStep
|
|
{
|
|
|
|
public MakeVPCStep(BuildOptions options)
|
|
: base(options)
|
|
{
|
|
}
|
|
|
|
|
|
override public void Execute()
|
|
{
|
|
Init();
|
|
|
|
new MakeISOStep(options).Execute(); //TODO shouldnt builder make this ?
|
|
string xPath = BuildPath + @"VPC\";
|
|
buildFileUtils.RemoveReadOnlyAttribute(xPath + "Cosmos.vmc");
|
|
buildFileUtils.RemoveReadOnlyAttribute(xPath + "hda.vhd");
|
|
Process.Start(xPath + "Cosmos.vmc");
|
|
Finish();
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|