diff --git a/Casks/firefoxdeveloperedition-cn.rb b/Casks/firefoxdeveloperedition-cn.rb deleted file mode 100644 index d8151431d..000000000 --- a/Casks/firefoxdeveloperedition-cn.rb +++ /dev/null @@ -1,11 +0,0 @@ -cask 'firefoxdeveloperedition-cn' do - version :latest - sha256 :no_check - - url 'https://download.mozilla.org/?product=firefox-aurora-latest-l10n&os=osx&lang=zh-CN' - name 'Mozilla Firefox Developer Edition' - homepage 'https://www.mozilla.org/zh-CN/firefox/developer/' - license :mpl - - app 'FirefoxDeveloperEdition.app' -end diff --git a/Casks/firefoxdeveloperedition-ja.rb b/Casks/firefoxdeveloperedition-ja.rb deleted file mode 100644 index d3d4707e9..000000000 --- a/Casks/firefoxdeveloperedition-ja.rb +++ /dev/null @@ -1,11 +0,0 @@ -cask 'firefoxdeveloperedition-ja' do - version :latest - sha256 :no_check - - url 'https://download.mozilla.org/?product=firefox-aurora-latest-l10n&os=osx&lang=ja-JP-mac' - name 'Mozilla Firefox Developer Edition' - homepage 'https://www.mozilla.org/ja/firefox/developer/' - license :mpl - - app 'FirefoxDeveloperEdition.app' -end diff --git a/Casks/firefoxdeveloperedition-ru.rb b/Casks/firefoxdeveloperedition-ru.rb deleted file mode 100644 index 8747c369a..000000000 --- a/Casks/firefoxdeveloperedition-ru.rb +++ /dev/null @@ -1,11 +0,0 @@ -cask 'firefoxdeveloperedition-ru' do - version :latest - sha256 :no_check - - url 'https://download.mozilla.org/?product=firefox-aurora-latest-l10n&os=osx&lang=ru' - name 'Mozilla Firefox Developer Edition' - homepage 'https://www.mozilla.org/ru/firefox/developer/' - license :mpl - - app 'FirefoxDeveloperEdition.app' -end diff --git a/Casks/firefoxdeveloperedition-uk.rb b/Casks/firefoxdeveloperedition-uk.rb deleted file mode 100644 index 867ac1f4f..000000000 --- a/Casks/firefoxdeveloperedition-uk.rb +++ /dev/null @@ -1,11 +0,0 @@ -cask 'firefoxdeveloperedition-uk' do - version :latest - sha256 :no_check - - url 'https://download.mozilla.org/?product=firefox-aurora-latest-l10n&os=osx&lang=uk' - name 'Mozilla Firefox Developer Edition' - homepage 'https://www.mozilla.org/uk/firefox/developer/' - license :mpl - - app 'FirefoxDeveloperEdition.app' -end diff --git a/Casks/firefoxdeveloperedition.rb b/Casks/firefoxdeveloperedition.rb index cae37e845..c530281c8 100644 --- a/Casks/firefoxdeveloperedition.rb +++ b/Casks/firefoxdeveloperedition.rb @@ -2,9 +2,29 @@ cask 'firefoxdeveloperedition' do version :latest sha256 :no_check - url 'https://download.mozilla.org/?product=firefox-aurora-latest-ssl&os=osx&lang=en-US' + language 'en', default: true do + 'en-US' + end + + language 'ja' do + 'ja-JP-mac' + end + + language 'ru' do + 'ru' + end + + language 'uk' do + 'uk' + end + + language 'zh' do + 'zh-CN' + end + + url "https://download.mozilla.org/?product=firefox-aurora-latest#{language == 'en-US' ? 'ssl' : '-l10n'}&os=osx&lang=#{language}" name 'Mozilla Firefox Developer Edition' - homepage 'https://www.mozilla.org/en-US/firefox/developer/' + homepage 'https://www.mozilla.org/firefox/developer/' license :mpl app 'FirefoxDeveloperEdition.app'