Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
firefoxdeveloperedition
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Sep 22, 2016
1 parent 0b83efc commit 84ecf26
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions Casks/firefoxdeveloperedition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,25 @@
version :latest
sha256 :no_check

language = case MacOS.language
when %r{^ja}
'ja-JP-mac'
when %r{^ru}
'ru'
when %r{^uk}
'uk'
when %r{^zh}
'zh-CN'
else
'en-US'
end
language %r{^ja} do
'ja-JP-mac'
end

language %r{^ru} do
'ru'
end

language %r{^uk} do
'uk'
end

language %r{^zh} do
'zh-CN'
end

language :default do
'en-US'
end

url "https://download.mozilla.org/?product=firefox-aurora-latest#{language == 'en-US' ? 'ssl' : '-l10n'}&os=osx&lang=#{language}"
name 'Mozilla Firefox Developer Edition'
Expand Down

0 comments on commit 84ecf26

Please sign in to comment.