homebrew-cask/Casks/insync.rb

31 lines
1.0 KiB
Ruby

cask "insync" do
version "3.8.4.50481"
sha256 "766ea065cce79c54ab83f8df2f52090eef03bb97f2f559136ad31e4d69881cb1"
url "https://cdn.insynchq.com/builds/mac/Insync-#{version}.dmg"
name "Insync"
desc "Manage your Google Drive and OneDrive files"
homepage "https://www.insynchq.com/"
livecheck do
url "https://cdn.insynchq.com/web/webflow/js/mac_download_links.js"
regex(/Insync[._-]?v?(\d+(?:\.\d+)+)\.dmg/i)
end
auto_updates true
app "Insync.app"
zap trash: [
"/Library/LaunchDaemons/com.insynchq.insync.daemon.plist",
"~/Library/Application Scripts/com.insynchq.insync",
"~/Library/Application Scripts/com.insynchq.Insync.Insync-Finder-Integration",
"~/Library/Application Support/Insync",
"~/Library/Caches/com.insynchq.insync",
"~/Library/Containers/com.insynchq.Insync.Insync-Finder-Integration",
"~/Library/Group Containers/com.insynchq.insync",
"~/Library/Saved Application State/com.insynchq.insync.savedState",
"~/Library/WebKit/com.insynchq.insync",
]
end