Exemplo n.º 1
0
        public async Task Execute(string windowsPath, string origin)
        {
            this.origin = origin;
            var injectedDrivers = await imageService.InjectDrivers(origin, windowsPath);

            var metadataPath = GetMetadataFilename();

            SaveMetadata(injectedDrivers, Path.Combine(AppPaths.Metadata, "Injected Drivers", metadataPath));
        }
Exemplo n.º 2
0
        protected override async Task ExecuteCore()
        {
            var windowsPartition = await context.Device.GetWindowsPartition();

            await windowsPartition.EnsureWritable();

            var injectedDrivers = await imageService.InjectDrivers(origin, windowsPartition.Root);

            var metadataPath = GetMetadataFilename();

            SaveMetadata(injectedDrivers, Path.Combine(AppPaths.Metadata, "Injected Drivers", metadataPath));
        }
Exemplo n.º 3
0
        public async Task Execute()
        {
            var windowsPartition = await device.GetWindowsVolume();

            await imageService.InjectDrivers(origin, windowsPartition);
        }
Exemplo n.º 4
0
 private Task InjectDrivers(Volume windowsVolume)
 {
     Log.Information("Injecting Drivers...");
     return(windowsImageService.InjectDrivers(deploymentPaths.PreOobe, windowsVolume));
 }