homebrew-cask/Casks/videofusion.rb

27 lines
764 B
Ruby

cask "videofusion" do
version "1.0.1.0"
sha256 "106328304796a77ddf2180af014e3834c695cef09226a0f412e811f635e66a25"
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