mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-10 21:38:04 -05:00
Update script base to m2
This commit is contained in:
parent
3cb05129f9
commit
429641a6fc
@ -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
|
||||
|
@ -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.
BIN
source/net/filebot/cli/repository.cer
Normal file
BIN
source/net/filebot/cli/repository.cer
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user