diff --git a/installer/homebrew/filebot.rb b/installer/homebrew/filebot.rb index 4f21da38..dfd93a5b 100644 --- a/installer/homebrew/filebot.rb +++ b/installer/homebrew/filebot.rb @@ -13,6 +13,10 @@ class Filebot < Formula # Create filebot symlink in bin bin.install_symlink prefix/'FileBot.app/Contents/MacOS/filebot.sh' => 'filebot' end + + def post_install + system "#{bin}/filebot", "-script", "g:MediaDetection.warmupCachedResources()" + end test do system "#{bin}/filebot", "-version"