chore: Powershell does not set the working dir properly
This commit is contained in:
parent
931d6c39a4
commit
2b85ba672a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue