excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / sensei.rb
blob829479ae18ad2a6e327d57ea44ad4aa19dc27ec8
1 cask "sensei" do
2   version "1.5.12"
3   sha256 :no_check
5   url "https://cdn.cindori.com/apps/sensei/Sensei.dmg"
6   name "Sensei"
7   desc "Monitors the computer system and optimises its performance"
8   homepage "https://cindori.com/sensei"
10   livecheck do
11     url "https://api.appcenter.ms/v0.1/public/sparkle/apps/51fc066a-f4b4-49ec-b966-b2f476d2eede"
12     strategy :sparkle, &:short_version
13   end
15   auto_updates true
16   depends_on macos: ">= :catalina"
18   app "Sensei.app"
20   uninstall launchctl: "org.cindori.SenseiTool",
21             delete:    [
22               "/Library/LaunchAgents/org.cindori.SenseiMonitor.plist",
23               "/Library/LaunchDaemons/org.cindori.SenseiDaemon.plist",
24               "/Library/LaunchDaemons/org.cindori.SenseiHelper.plist",
25               "/Library/PrivilegedHelperTools/org.cindori.SenseiTool",
26             ]
28   zap trash: [
29     "~/Library/Application Support/org.cindori.Sensei",
30     "~/Library/Application Support/Sensei",
31     "~/Library/Caches/com.plausiblelabs.crashreporter.data/org.cindori.Sensei",
32     "~/Library/Caches/org.cindori.Sensei",
33     "~/Library/Cookies/org.cindori.Sensei.binarycookies",
34     "~/Library/HTTPStorages/org.cindori.Sensei",
35     "~/Library/HTTPStorages/org.cindori.Sensei.binarycookies",
36     "~/Library/Preferences/org.cindori.Sensei.plist",
37     "~/Library/Saved Application State/org.cindori.Sensei.savedState",
38   ]
39 end