Skip to content

Commit

Permalink
Merge pull request #46 from aleksrutins/develop
Browse files Browse the repository at this point in the history
Fix #43 and #39
  • Loading branch information
nerdsupremacist authored Jun 27, 2022
2 parents 8134d59 + 2db1dc5 commit 1eda897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Graphaello/Commands/checkVersion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ private struct HomebrewInfo: Decodable {

private func fetchInstalledVersion() -> String? {
let task = Process()
task.launchPath = "/usr/local/bin/brew"
task.launchPath = ExecutableFinder.find("brew")?.url.path
task.arguments = ["info", "graphaello", "--json"]

let outputPipe = Pipe()
Expand Down

0 comments on commit 1eda897

Please sign in to comment.