diff --git a/Casks/intellij-idea.rb b/Casks/intellij-idea.rb index d6888bf4c5897..881796f080383 100644 --- a/Casks/intellij-idea.rb +++ b/Casks/intellij-idea.rb @@ -1,8 +1,14 @@ cask "intellij-idea" do version "2020.3.1" - sha256 "ed193f2fde56b79eb119b17ac7f87f72c830b351e2cfe614895ca294a24a1f6d" - url "https://download.jetbrains.com/idea/ideaIU-#{version}.dmg" + if Hardware::CPU.intel? + sha256 "ed193f2fde56b79eb119b17ac7f87f72c830b351e2cfe614895ca294a24a1f6d" + url "https://download.jetbrains.com/idea/ideaIU-#{version}.dmg" + else + sha256 "19005915a36471b36cac17088652f9636a3624d1c0c4b7d5bcdb5aa77a3811e4" + url "https://download.jetbrains.com/idea/ideaIU-#{version}-aarch64.dmg" + end + appcast "https://data.services.jetbrains.com/products/releases?code=IIU&latest=true&type=release" name "IntelliJ IDEA Ultimate" homepage "https://www.jetbrains.com/idea/"