Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aladin 12.060 fixed #170703

Merged
merged 5 commits into from
Apr 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions Casks/a/aladin.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
cask "aladin" do
arch arm: "arm", intel: "amd"

version "12.060"
sha256 :no_check

url "https://aladin.cds.unistra.fr/java/download/Aladin.dmg"
url "https://aladin.cds.unistra.fr/java/Aladin.#{arch}.dmg"
name "Aladin Desktop"
desc "Interactive sky atlas"
homepage "https://aladin.cds.unistra.fr/AladinDesktop/"
Expand All @@ -12,11 +14,15 @@
regex(%r{<h1>\s*Official\s+version\s*(?:<[^/>]*>\s*)?v?(\d+(?:\.\d+)+)}i)
end

app "Aladin.app"
installer script: {
executable: "Aladin Sky Atlas Installer.app/Contents/MacOS/JavaApplicationStub",
args: ["-q"],
}

zap trash: "~/.aladin"
uninstall script: {
executable: "/Applications/Aladin Sky Atlas/Aladin Sky Atlas Uninstaller.app/Contents/MacOS/JavaApplicationStub",
args: ["-q"],
}

caveats do
depends_on_java
end
zap trash: "~/.aladin"
end