Skip to content

Commit

Permalink
fix: more cli improvement for img2ffu call
Browse files Browse the repository at this point in the history
  • Loading branch information
gus33000 committed Feb 27, 2024
1 parent 15cc35f commit fc5c057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FirmwareGen/MainLogic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public static void GenerateWindowsFFU(GenerateWindowsFFUOptions options)
version = string.Join(".", version.Split(".").Skip(2));
}

VolumeUtils.RunProgram(Img2Ffu, $@"-i {TmpVHD} -f ""{options.Output}\{deviceProfile.GetFFUFileName(version, "en-us", "PROFESSIONAL")}"" -c 16384 -s 4096 -p ""{string.Join(";", deviceProfile.GetPlatformIDs())}"" -o {options.WindowsVer} -b 4000");
VolumeUtils.RunProgram(Img2Ffu, $@"-i {TmpVHD} -f ""{options.Output}\{deviceProfile.GetFFUFileName(version, "en-us", "PROFESSIONAL")}"" -c {deviceProfile.GetDiskSectorSize() * 4} -s {deviceProfile.GetDiskSectorSize()} -p ""{string.Join(";", deviceProfile.GetPlatformIDs())}"" -o {options.WindowsVer} -b 4000");

Logging.Log("Deleting Temp VHD");
File.Delete(TmpVHD);
Expand Down

0 comments on commit fc5c057

Please sign in to comment.