1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

Update script base to m2

This commit is contained in:
Reinhard Pointner 2016-03-30 08:08:20 +00:00
parent 3cb05129f9
commit 429641a6fc
4 changed files with 4 additions and 4 deletions

View File

@ -8,8 +8,8 @@ update.url: https://app.filebot.net/update.xml
donate.url: https://app.filebot.net/donate.php
# base URL for resolving script resources
github.stable: https://raw.githubusercontent.com/filebot/scripts/m1/
github.master: https://raw.githubusercontent.com/filebot/scripts/devel/
github.stable: https://raw.githubusercontent.com/filebot/scripts/m2/
github.master: https://raw.githubusercontent.com/filebot/scripts/master/
# native links
link.mas: macappstore://itunes.apple.com/app/id905384638

View File

@ -110,9 +110,9 @@ public enum ScriptSource {
private static ScriptProvider getScriptBundle(ScriptSource source, String branch, Duration expirationTime) throws Exception {
Cache cache = Cache.getCache(source.name(), CacheType.Persistent);
byte[] bytes = cache.bytes("bundle.jar", f -> new URL(getApplicationProperty(branch) + f)).expire(expirationTime).get();
byte[] bytes = cache.bytes("repository.jar", f -> new URL(getApplicationProperty(branch) + f)).expire(expirationTime).get();
return new ScriptBundle(bytes, source.getClass().getResourceAsStream("bundle.cer"));
return new ScriptBundle(bytes, source.getClass().getResourceAsStream("repository.cer"));
}
}

Binary file not shown.

Binary file not shown.