From eaf38e42da057a5c27e7fafbf601c7377c007a22 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Thu, 18 Jan 2024 12:29:41 +0000 Subject: [PATCH] Experiment: add service block to fix "undefined method `plist_startup'" --- Formula/crab.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Formula/crab.rb b/Formula/crab.rb index 70ae967..344d65e 100644 --- a/Formula/crab.rb +++ b/Formula/crab.rb @@ -44,6 +44,10 @@ def plist EOS end + service do + name macos: "#{plist_name}" + end + test do assert_match "crab v#{version}", shell_output("#{bin}/crab --version") assert_match "crab v#{version}", shell_output("#{bin}/crab")