From 4083ca20785d96ef26eecac89c1c9e37532beb44 Mon Sep 17 00:00:00 2001 From: CorpNewt <12772521+corpnewt@users.noreply.github.com> Date: Mon, 5 Oct 2020 13:23:26 -0500 Subject: [PATCH] Update MakeInstall.py --- MakeInstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MakeInstall.py b/MakeInstall.py index 56f3daf..abf52cb 100755 --- a/MakeInstall.py +++ b/MakeInstall.py @@ -510,7 +510,7 @@ class WinUSB: print(" - EFI exists - removing...") shutil.rmtree("{}/EFI".format(part),ignore_errors=True) time.sleep(1) # Added because windows is dumb - shutil.copytree(os.path.join(temp,"EFI"), "{}/EFI".format(part)) + shutil.copytree(os.path.join(temp,"X64","EFI"), "{}/EFI".format(part)) # Copy boot over to the root of the EFI volume print("Copying {} to {}/boot...".format(self.oc_boot,part)) shutil.copy(os.path.join(temp,self.oc_boot),"{}/boot".format(part))