cask "unity-webgl-support-for-editor" do version "6000.6.7f1,b22767f04f04" sha256 "c12873d830428408a609dc6b115e475a8fe8b72da173b7232e382a6c7efc200f" url "https://download.unity3d.com/download_unity/#{version.csv.second}/MacEditorTargetInstaller/UnitySetup-WebGL-Support-for-Editor-#{version.csv.first}.pkg" name "Unity WebGL Build Support" desc "WebGL target support for Unity" homepage "https://unity.com/products" livecheck do cask "unity" end depends_on cask: "unity" depends_on :macos pkg "UnitySetup-WebGL-Support-for-Editor-#{version.csv.first}.pkg" uninstall pkgutil: "com.unity3d.WebGLSupport-#{version.csv.first}" end