From 4b10627fb68606df6d6efbb596a9adec2c0719ba Mon Sep 17 00:00:00 2001 From: Stephen Fox Date: Sat, 21 Mar 2020 17:36:59 -0400 Subject: [PATCH] Fixed hardcoded 'ilspycmd' binary reference. --- cmd/finley/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/finley/main.go b/cmd/finley/main.go index ad1b386..1245b20 100644 --- a/cmd/finley/main.go +++ b/cmd/finley/main.go @@ -204,7 +204,7 @@ func decompileNETFile(info decompileNETInfo) error { return fmt.Errorf("failed to create output subdirectory - %s", err) } - raw, err := exec.Command("ilspycmd", info.filePath, "-p", "-o", info.finalOutputDirPath).CombinedOutput() + raw, err := exec.Command(info.ilspycmdPath, info.filePath, "-p", "-o", info.finalOutputDirPath).CombinedOutput() if err != nil { return &ilspyError{ err: fmt.Sprintf("failed to decompile .NET file '%s' - %s - %s",