From 2b85ba672acd76b748781e3b9e8b32a763c603d1 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Wed, 18 Sep 2024 16:40:23 +0200 Subject: [PATCH] chore: Powershell does not set the working dir properly --- scripts/dexor_binary_file.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dexor_binary_file.ps1 b/scripts/dexor_binary_file.ps1 index 5df9244..ac0c644 100644 --- a/scripts/dexor_binary_file.ps1 +++ b/scripts/dexor_binary_file.ps1 @@ -1,7 +1,7 @@ $SourceFilePath = $args[0] $DestinationFilePath = $args[1] $XorKey = [byte]$args[2] - +[System.Environment]::CurrentDirectory = (Get-Location) # Load the binary data from the file $data = [System.IO.File]::ReadAllBytes($SourceFilePath)