* warmup cached resources on first install of new version
This commit is contained in:
parent
b5e83e98a9
commit
aaf03996fb
|
@ -14,6 +14,10 @@ class Filebot < Formula
|
||||||
bin.install_symlink prefix/'FileBot.app/Contents/MacOS/filebot.sh' => 'filebot'
|
bin.install_symlink prefix/'FileBot.app/Contents/MacOS/filebot.sh' => 'filebot'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def post_install
|
||||||
|
system "#{bin}/filebot", "-script", "g:MediaDetection.warmupCachedResources()"
|
||||||
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
system "#{bin}/filebot", "-version"
|
system "#{bin}/filebot", "-version"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue