chore: Powershell does not set the working dir properly

This commit is contained in:
Timothy Schenk 2024-09-18 16:40:23 +02:00
parent 931d6c39a4
commit 2b85ba672a
Signed by: rainote
SSH key fingerprint: SHA256:pnkNSDwpAnaip00xaZlVFHKKsS7T8UtOomMzvs0yITE

View file

@ -1,7 +1,7 @@
$SourceFilePath = $args[0] $SourceFilePath = $args[0]
$DestinationFilePath = $args[1] $DestinationFilePath = $args[1]
$XorKey = [byte]$args[2] $XorKey = [byte]$args[2]
[System.Environment]::CurrentDirectory = (Get-Location)
# Load the binary data from the file # Load the binary data from the file
$data = [System.IO.File]::ReadAllBytes($SourceFilePath) $data = [System.IO.File]::ReadAllBytes($SourceFilePath)