* warmup cached resources on first install of new version

This commit is contained in:
Reinhard Pointner 2014-06-19 08:56:07 +00:00
parent b5e83e98a9
commit aaf03996fb
1 changed files with 4 additions and 0 deletions

View File

@ -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"