254 lines
7.4 KiB
Ruby
254 lines
7.4 KiB
Ruby
cask "firefox@esr" do
|
|
version "115.12.0"
|
|
|
|
language "af" do
|
|
sha256 "32ed9cc342068ab8cda7815a5f273b89879dd23096631f2eab99da01564dae7b"
|
|
"af"
|
|
end
|
|
language "ar" do
|
|
sha256 "7e3a9f67bd80580d87d8d0b0d703705f90521f291bea0018b5947aede92835c2"
|
|
"ar"
|
|
end
|
|
language "be" do
|
|
sha256 "cf8c4518110d00c872a034024746da9f2e1cb5c3314dc772e86ff7a794eb8c88"
|
|
"be"
|
|
end
|
|
language "bg" do
|
|
sha256 "613c1e27fe9553535c1b091c2d701a16cb24c727abdf35bbec4b444b26b73eff"
|
|
"bg"
|
|
end
|
|
language "bn" do
|
|
sha256 "90dd440acdd08e4f76fef5ff1b9d300089495d18f2c638e61078e50e2f522d99"
|
|
"bn"
|
|
end
|
|
language "ca" do
|
|
sha256 "bce0243fac52ecca974f90556ce8b7cd0a3f4dc27a0aff187e6642ab4a421faf"
|
|
"ca"
|
|
end
|
|
language "cs" do
|
|
sha256 "01f0ce7ccae06e2fa0fa06ff013929b9bced585a3e44babc3c9e0c996a3f22c5"
|
|
"cs"
|
|
end
|
|
language "de" do
|
|
sha256 "89f29eda2c1faf8f827f3bbd06a785fe1ca42e9d5cff74f1a74126c37b7c6951"
|
|
"de"
|
|
end
|
|
language "en-CA" do
|
|
sha256 "8a2f658053caab447f5b66e51352f92e985abba1e64d19c5d2de319f17bfbd21"
|
|
"en-CA"
|
|
end
|
|
language "en-GB" do
|
|
sha256 "3cbc7b82b1681461d88290b3c40eb1469afe7f8c3cd32176c603b947b9abcd0f"
|
|
"en-GB"
|
|
end
|
|
language "en", default: true do
|
|
sha256 "afbfcc66fc68bccade671fab76e3b2cb938477275f31dd9172372116aa2b5c12"
|
|
"en-US"
|
|
end
|
|
language "eo" do
|
|
sha256 "3d668ff393e96c56b66c8d08aa03e96d5ebf4350086012e19b02445b4bbf5c04"
|
|
"eo"
|
|
end
|
|
language "es-AR" do
|
|
sha256 "d2875fcec230ac15200d01a49dda356f7ff053fa880672c1a87086dc7af0f833"
|
|
"es-AR"
|
|
end
|
|
language "es-CL" do
|
|
sha256 "86c22281618c533dc5a7c85eba3dffd092701f70115e1be7e0346820669795ce"
|
|
"es-CL"
|
|
end
|
|
language "es-ES" do
|
|
sha256 "6502eaa933a7a7a40e7c3ca620f36e2a8c0a6d86eb79a421d1d99510267d8d22"
|
|
"es-ES"
|
|
end
|
|
language "fa" do
|
|
sha256 "f36bb375bd81f2cc45c9962eb8a2646edfe7a50107afafea2ab46aa90e1cb646"
|
|
"fa"
|
|
end
|
|
language "ff" do
|
|
sha256 "76cead4da34251e9ce7d88576e87bfb0654566e2c0405c463a5ea5cd26b61a6c"
|
|
"ff"
|
|
end
|
|
language "fi" do
|
|
sha256 "7c4dc035f9cb97bbb96103e111ebf884371ee51db629caf6b38cacc3a15ebbd4"
|
|
"fi"
|
|
end
|
|
language "fr" do
|
|
sha256 "cb8db8ccc08a88de0f41216f6695db678146b457f929156d5f41c954afe06ad5"
|
|
"fr"
|
|
end
|
|
language "gl" do
|
|
sha256 "c2782d40c1736bd29e3e29b1505e7277910cae5d35ea9f5bdd0e036c1178fd33"
|
|
"gl"
|
|
end
|
|
language "gn" do
|
|
sha256 "66a1ea57a62e54a92e80751312d888f76af682d6ed72227c4822fac18cb3e9ad"
|
|
"gn"
|
|
end
|
|
language "gu" do
|
|
sha256 "ecdee690edf5e67607353526ffa7af3816b4121e972463917936cc2b6fd2b358"
|
|
"gu-IN"
|
|
end
|
|
language "he" do
|
|
sha256 "964ed209715dfb9b485e5c6dbe6a015b5c6c9dc65f8cc561b200ad36e89fa300"
|
|
"he"
|
|
end
|
|
language "hi" do
|
|
sha256 "a4d9670032a46be6341e872e44eed401218892783cfff26e5fb3cc90305b6634"
|
|
"hi-IN"
|
|
end
|
|
language "in" do
|
|
sha256 "a4d9670032a46be6341e872e44eed401218892783cfff26e5fb3cc90305b6634"
|
|
"hi-IN"
|
|
end
|
|
language "it" do
|
|
sha256 "fe4419ac0dec635c7715cf77354da2ac8edff3f418d713cbc3eaeabea2fc9e81"
|
|
"it"
|
|
end
|
|
language "ja" do
|
|
sha256 "afa1965cfaec9407ef386103e180fee4fac9e06407e29e11f810ec97ea24c0c5"
|
|
"ja-JP-mac"
|
|
end
|
|
language "ka" do
|
|
sha256 "b27184781db7f8b3e6951d610e916355cb961d5fe9db9553d74c2a0d55c78dcb"
|
|
"ka"
|
|
end
|
|
language "ko" do
|
|
sha256 "f85b99d6dc9629cebe501eb28007e19ddf6e3f9808680667b095b1f3b771174c"
|
|
"ko"
|
|
end
|
|
language "mr" do
|
|
sha256 "d75bb1ec2adc20c4b36075c3c7c2213d220b7eaf08085e599c1158b8222f1085"
|
|
"mr"
|
|
end
|
|
language "my" do
|
|
sha256 "0bb064a0652cbeb0dcbf9b16b9ecadff078b6bb43c8af886eed4550eaca99523"
|
|
"my"
|
|
end
|
|
language "ne" do
|
|
sha256 "43d9ae4643b7d8cf0b73162ed1064e85de3eaac575149715a3536d8c8d6aeace"
|
|
"ne-NP"
|
|
end
|
|
language "nl" do
|
|
sha256 "a2b1b68be73e395b633e92e6058f61d66d90d8a29de6d4672c69c3da19ce37ba"
|
|
"nl"
|
|
end
|
|
language "pa-IN" do
|
|
sha256 "22d060703c0d490dedf165479d3a3f5c12bed3eaa52e716ff30263edb1fdfd3e"
|
|
"pa-IN"
|
|
end
|
|
language "pl" do
|
|
sha256 "cb592cfbfe43095e635373856c6e700060eeda4c1416997e1b417e9f832cd663"
|
|
"pl"
|
|
end
|
|
language "pt-BR" do
|
|
sha256 "afd2d962c27e682ddf55edca0ed80a6af5f72fd2c323fd50968e381ced578a7e"
|
|
"pt-BR"
|
|
end
|
|
language "pt" do
|
|
sha256 "8f3fb570519d967a4d7e3aa6dc1bc9fff08d0f3589a9ca24d11d61f01439513f"
|
|
"pt-PT"
|
|
end
|
|
language "ru" do
|
|
sha256 "fed6322222cc895cda5f1264eeaf0374909df44403f48e5353017e4854806609"
|
|
"ru"
|
|
end
|
|
language "si" do
|
|
sha256 "904ecdbfcc3ec38674a88bfd3ded54bba1b9d83d62ea1681797ccc756539cf40"
|
|
"si"
|
|
end
|
|
language "sq" do
|
|
sha256 "cd2274f8b3a34bea6fbe459ec94857023b49993e1635b06842e06d56fb0ba589"
|
|
"sq"
|
|
end
|
|
language "sr" do
|
|
sha256 "2900a15194df951c9f4d1219752e6c13477a2b0c23d195dc4ef9af203c96fb6e"
|
|
"sr"
|
|
end
|
|
language "sv" do
|
|
sha256 "1178b5e900e99bd979818fc4d54372233042c3331f8f60a4f28d6939dac09ddc"
|
|
"sv-SE"
|
|
end
|
|
language "ta" do
|
|
sha256 "737f959d45ba86a5815d592fe4685152899896d5cb33050954312db16c1ee980"
|
|
"ta"
|
|
end
|
|
language "te" do
|
|
sha256 "88907b1dbbda1beb8c2246ec7d6f4779b0395b69b8053981a8cb4c5b77450e64"
|
|
"te"
|
|
end
|
|
language "th" do
|
|
sha256 "9746a9d3194df71331248513967e52c37040f6a6c0eef81ab67d9afdf12dc243"
|
|
"th"
|
|
end
|
|
language "tl" do
|
|
sha256 "7750742201b2e24efa79855f72784ea8c8aebfb584b00971a97f62c540346d8a"
|
|
"tl"
|
|
end
|
|
language "tr" do
|
|
sha256 "b1d932393c0b675c4d5787e6dbd373cc25b660d8fa6f67c8906e266ead5edb90"
|
|
"tr"
|
|
end
|
|
language "uk" do
|
|
sha256 "545baf1effcf9d64901a98f2b1bc6a665b0a8d64d5a2bd69b58a4a6890aef0a7"
|
|
"uk"
|
|
end
|
|
language "ur" do
|
|
sha256 "617a8cdb8d1be0ad30a854ab9b8b2e67733a3707b1a963ea4e501b22f1f9a2e9"
|
|
"ur"
|
|
end
|
|
language "zh-TW" do
|
|
sha256 "69b4b38fb346a6f2a63b251e5be22c29355f17b249258da640418d407e8db196"
|
|
"zh-TW"
|
|
end
|
|
language "zh" do
|
|
sha256 "72b181403ad69a6ce56c074b45a14f4be3ad8ea1644a77d3eb7b700add5d73a8"
|
|
"zh-CN"
|
|
end
|
|
|
|
url "https://download-installer.cdn.mozilla.net/pub/firefox/releases/#{version}esr/mac/#{language}/Firefox%20#{version}esr.dmg",
|
|
verified: "download-installer.cdn.mozilla.net/pub/firefox/releases/"
|
|
name "Mozilla Firefox ESR"
|
|
name "Mozilla Firefox Extended Support Release"
|
|
desc "Web browser"
|
|
homepage "https://www.mozilla.org/en-US/firefox/all/#product-desktop-esr"
|
|
|
|
livecheck do
|
|
url "https://download.mozilla.org/?product=firefox-esr-latest-ssl&os=osx&lang=en-US"
|
|
strategy :header_match
|
|
end
|
|
|
|
auto_updates true
|
|
conflicts_with cask: [
|
|
"firefox",
|
|
"firefox@beta",
|
|
"firefox@cn",
|
|
]
|
|
depends_on macos: ">= :sierra"
|
|
|
|
app "Firefox.app"
|
|
|
|
uninstall quit: "org.mozilla.firefox",
|
|
delete: "/Library/Logs/DiagnosticReports/firefox_*"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.mozilla.firefox.sfl*",
|
|
"~/Library/Application Support/CrashReporter/firefox_*",
|
|
"~/Library/Application Support/Firefox",
|
|
"~/Library/Caches/Firefox",
|
|
"~/Library/Caches/Mozilla/updates/Applications/Firefox",
|
|
"~/Library/Caches/org.mozilla.crashreporter",
|
|
"~/Library/Caches/org.mozilla.firefox",
|
|
"~/Library/Preferences/org.mozilla.crashreporter.plist",
|
|
"~/Library/Preferences/org.mozilla.firefox.plist",
|
|
"~/Library/Saved Application State/org.mozilla.firefox.savedState",
|
|
"~/Library/WebKit/org.mozilla.firefox",
|
|
],
|
|
rmdir: [
|
|
"~/Library/Application Support/Mozilla", # May also contain non-Firefox data
|
|
"~/Library/Caches/Mozilla",
|
|
"~/Library/Caches/Mozilla/updates",
|
|
"~/Library/Caches/Mozilla/updates/Applications",
|
|
]
|
|
end
|