homebrew-cask/Casks/megasync.rb

23 lines
620 B
Ruby
Raw Normal View History

2015-01-11 01:36:48 +08:00
cask :v1 => 'megasync' do
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
brew cask --appdir=/Applications install #{token}
Alternatively, you can create an extra link in /Applications, after installing
ln -s '#{staged_path}/MEGAsync.app' '/Applications/MEGAsync.app'
EOS
end
end