homebrew-cask/Casks/megasync.rb

23 lines
613 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'megasync' do
2015-01-11 01:36:48 +08:00
version :latest
sha256 :no_check
2015-01-18 09:20:56 +08:00
# mega.nz is the official download host per the vendor homepage
2015-01-11 01:36:48 +08:00
url 'https://mega.nz/MEGAsyncSetup.dmg'
name 'MEGAsync'
homepage 'https://mega.co.nz'
license :gratis
app 'MEGAsync.app'
caveats do
<<-EOS.undent
#{token} only works if called from /Applications, so you may need to install it with
2015-10-31 00:12:36 +08:00
brew cask install --appdir=/Applications #{token}
2015-01-11 01:36:48 +08:00
Alternatively, you can create an extra link in /Applications, after installing
ln -s '#{staged_path}/MEGAsync.app' '/Applications/MEGAsync.app'
EOS
end
end