16 lines
564 B
Ruby
16 lines
564 B
Ruby
cask 'unity' do
|
|
version '2019.2.0f1,20c1667945cf'
|
|
sha256 '8e1e68f8b575ce7914ef40e392e0ee64828d2f9db58e5bf41947d374cd2ba71e'
|
|
|
|
url "https://netstorage.unity3d.com/unity/#{version.after_comma}/MacEditorInstaller/Unity-#{version.before_comma}.pkg"
|
|
appcast 'https://unity3d.com/get-unity/download/archive'
|
|
name 'Unity Editor'
|
|
homepage 'https://unity3d.com/unity/'
|
|
|
|
pkg "Unity-#{version.before_comma}.pkg"
|
|
|
|
uninstall quit: 'com.unity3d.UnityEditor5.x',
|
|
pkgutil: 'com.unity3d.UnityEditor5.x',
|
|
delete: '/Applications/Unity'
|
|
end
|