From 6e01e0af8bef1c7de8447d92bc0f0674b8e9f80c Mon Sep 17 00:00:00 2001 From: Miccal Matthews Date: Mon, 18 Sep 2023 16:59:49 +0800 Subject: [PATCH] Update cloudnet.rb --- Casks/c/cloudnet.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Casks/c/cloudnet.rb b/Casks/c/cloudnet.rb index 30ff6fa6f4..c55d46fec6 100644 --- a/Casks/c/cloudnet.rb +++ b/Casks/c/cloudnet.rb @@ -4,14 +4,12 @@ cask "cloudnet" do url "https://pkgs.cloudnet.world/stable/macos/CloudNet_v#{version}.dmg" name "CloudNet for Mac client" - desc "Professional and easy-to-use enterprise-level meshVPN product" + desc "Enterprise-level meshVPN cloud service" homepage "https://cloudnet.world/" - # This appcast is slower to update than the submissions we get. See: - # https://github.com/Homebrew/homebrew-cask/pull/90907#issuecomment-710107547 livecheck do url "https://pkgs.cloudnet.world/stable/appcast.xml" - strategy :sparkle, &:version + strategy :sparkle end auto_updates true @@ -31,12 +29,14 @@ cask "cloudnet" do args: ["uninstall"], sudo: true, }, - delete: "/Applications/CloudNet.app" + delete: [ + "/Applications/CloudNet.app", + "/Library/LaunchDaemons/world.cloudnet.client.cloudnetd.plist", + ] zap trash: [ - "/Library/LaunchDaemons/world.cloudnet.client.cloudnetd.plist", - "~/Library/Preferences/world.cloudnet.client.cloudnetd.plist", "~/Library/Containers/world.cloudnet.client", "~/Library/Group Containers/$(TeamIdentifierPrefix)world.cloudnet.client", + "~/Library/Preferences/world.cloudnet.client.cloudnetd.plist", ] end