* warmup cached resources on first install of new version
This commit is contained in:
parent
b5e83e98a9
commit
aaf03996fb
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue