Exemplo n.º 1
0
		public static string Verify(Options options)
		{
			if (options.Emulator == EmulatorType.Qemu && options.ImageFormat == ImageFormat.VDI)
			{
				return "QEMU does not support the VDI image format";
			}

			if (options.Emulator == EmulatorType.Bochs && options.ImageFormat == ImageFormat.VDI)
			{
				return "Boches does not support the VDI image format";
			}

			if (options.Emulator == EmulatorType.Bochs && options.ImageFormat == ImageFormat.VMDK)
			{
				return "Boches does not support the VMDK image format";
			}

			if (options.Emulator == EmulatorType.VMware && options.ImageFormat == ImageFormat.IMG)
			{
				return "VMware does not support the IMG image format";
			}

			if (options.Emulator == EmulatorType.VMware && options.ImageFormat == ImageFormat.VDI)
			{
				return "VMware does not support the VHD image format";
			}

			return null;
		}
Exemplo n.º 2
0
        public MainForm()
        {
            InitializeComponent();

            Options = new Options();
            AppLocations = new AppLocations();

            AppLocations.FindApplications();

            Builder = new Builder(Options, AppLocations, this);
        }
Exemplo n.º 3
0
 public BaseLauncher(Options options, AppLocations appLocations)
 {
     Options = options;
     AppLocations = appLocations;
     Log = new List<string>();
 }