mirror of
https://github.com/Metabolix/HackBGRT.git
synced 2025-12-06 17:15:42 -08:00
Skip the workaround in a44b9290 if skipping shim
This commit is contained in:
@@ -398,10 +398,10 @@ public class Setup {
|
|||||||
if (!SkipShim) {
|
if (!SkipShim) {
|
||||||
InstallFile(shimSource, loaderDest);
|
InstallFile(shimSource, loaderDest);
|
||||||
InstallFile(mmSource, $"mm{EfiArch}.efi");
|
InstallFile(mmSource, $"mm{EfiArch}.efi");
|
||||||
|
InstallFile(loaderSource, "\u4957\u444e\u574f\u0053\u0058"); // bytes "WINDOWS\0X\0" as UTF-16
|
||||||
loaderDest = $"grub{EfiArch}.efi";
|
loaderDest = $"grub{EfiArch}.efi";
|
||||||
}
|
}
|
||||||
InstallFile(loaderSource, loaderDest);
|
InstallFile(loaderSource, loaderDest);
|
||||||
InstallFile(loaderSource, "\u4957\u444e\u574f\u0053\u0058"); // bytes "WINDOWS\0X\0" as UTF-16
|
|
||||||
if (LoaderIsSigned) {
|
if (LoaderIsSigned) {
|
||||||
InstallFile("certificate.cer");
|
InstallFile("certificate.cer");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user