diff --git a/Casks/xamarin-platform.rb b/Casks/xamarin-platform.rb new file mode 100644 index 000000000000..567026719a60 --- /dev/null +++ b/Casks/xamarin-platform.rb @@ -0,0 +1,16 @@ +class XamarinPlatform < Cask + url 'http://download.xamarin.com/Installer/Mac/XamarinInstaller.dmg' + homepage 'http://xamarin.com/platform' + version 'latest' + sha256 :no_check + + after_install do + system '/usr/bin/sudo', '-E', '--', + "#{destination_path}/Install Xamarin.app/Contents/MacOS/Install_Xamarin" + end + + #uninstall :files => [ + # '/Applications/Xamarin Studio.app', + # '~/Library/Developer/Xamarin' + #] +end