Skip to content

Commit

Permalink
Handle ARM (Apple Silicon) (#5)
Browse files Browse the repository at this point in the history
* Handle ARM (Apple Silicon)

* Fix lack of end
  • Loading branch information
PythonCoderAS authored Apr 17, 2023
1 parent 082e5a8 commit 49594b7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Formula/wayback.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ class Wayback < Formula
license "GPL-3.0"

def install
bin.install "wayback-darwin-amd64" => "wayback"
if Hardware::CPU.intel?
bin.install "wayback-darwin-amd64" => "wayback"
else
bin.install "wayback-darwin-arm64" => "wayback"
end
end

livecheck do
Expand Down

0 comments on commit 49594b7

Please sign in to comment.