homebrew-cask/Casks/videofusion.rb

27 lines
764 B
Ruby

cask "videofusion" do
version "1.1.0.0"
sha256 "cce9fb3121d40c5650ef719b34a2a87e228db47dce13414feb2d3fcf00dfe933"
url "https://lf3-faceucdn-tos.pstatp.com/obj/faceu-packages/Jianying_Pro_#{version.dots_to_underscores}.pkg",
verified: "lf3-faceucdn-tos.pstatp.com/obj/faceu-packages/"
name "VideoFusion"
name "剪映专业版"
desc "Video editor"
homepage "https://lv.ulikecam.com/"
depends_on macos: ">= :mojave"
pkg "Jianying_Pro_#{version.dots_to_underscores}.pkg"
uninstall pkgutil: [
"com.lemon.lvpro",
"com.mygreatcompany.pkg.lvpro",
]
zap trash: [
"~/Library/Caches/com.lemon.ee.lv",
"~/Library/Preferences/com.lemon.ee.lv.plist",
"~/Library/Saved Application State/com.lemon.ee.lv.savedState",
]
end