Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
illusion.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
memN0ps committed Feb 19, 2024
1 parent 50db739 commit d37c635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.ps1
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Ensure the EFI\Boot directory structure exists on the USB drive D:\ and create if necessary
$efiBootDir = "D:\EFI\Boot"
$efiBootDir = "D:\illusion.efi"
New-Item -ItemType Directory -Path $efiBootDir -Force

# Copy the EFI application to the EFI\Boot directory, renaming it to bootx64.efi
$efiFilePath = "C:\Users\memN0ps\Documents\GitHub\illusion-rs\target\x86_64-unknown-uefi\debug\illusion.efi"
Copy-Item -Path "$efiFilePath" -Destination "$efiBootDir\bootx64.efi"
Copy-Item -Path "$efiFilePath" -Destination "$efiBootDir"

# Print the contents of the D:\ drive to verify the copy operation
Get-ChildItem -Path D:\ -Recurse
Expand Down

0 comments on commit d37c635

Please sign in to comment.