コード例 #1
0
        public async Task MakeBootable()
        {
            var lowLevelApi = new LowLevelApi();
            var sut         = new LumiaWindowsDeployer(new DismImageService(), new DriverPaths(""));

            var lowlevel = lowLevelApi;
            var volumes  = await lowlevel.GetVolumes(await lowlevel.GetPhoneDisk());

            var winVolume  = volumes.Single(v => v.Label == "WindowsARM");
            var bootVolume = volumes.Single(v => v.Label == "BOOT");

            //await sut.MakeBootable(new WindowsVolumes());
        }
コード例 #2
0
 public async Task DeployWindows()
 {
     var deployer = new LumiaWindowsDeployer(new DismImageService(), new DriverPaths(""));
     await deployer.Deploy(new InstallOptions(@"F:\sources\install.wim"), new Phone(null));
 }