Skip to content

Commit

Permalink
Fixed hardcoded 'ilspycmd' binary reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-fox committed Mar 21, 2020
1 parent 3c40773 commit 4b10627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/finley/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 4b10627

Please sign in to comment.