mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-19 07:11:02 +00:00
update the scripting engine and fix cached file extension
This commit is contained in:
@@ -46,10 +46,10 @@ public class ExecutionEnvironment {
|
|||||||
|
|
||||||
@SneakyThrows
|
@SneakyThrows
|
||||||
private static URLClassLoader buildLoader() {
|
private static URLClassLoader buildLoader() {
|
||||||
String version = "ac94c94427";
|
String version = "46d271c6ce";
|
||||||
String url = BASE_URL.formatted(version, version);
|
String url = BASE_URL.formatted(version, version);
|
||||||
String hash = IO.hash("Iris-Scripts.jar@" + version);
|
String hash = IO.hash("Iris-Scripts.jar@" + version);
|
||||||
var file = Iris.instance.getDataFile("cache", hash.substring(0, 2), hash.substring(3, 5), hash);
|
var file = Iris.instance.getDataFile("cache", hash.substring(0, 2), hash.substring(3, 5), hash + ".jar");
|
||||||
var libsDir = new File(file.getParentFile(), "libs");
|
var libsDir = new File(file.getParentFile(), "libs");
|
||||||
|
|
||||||
KList<String> libs = null;
|
KList<String> libs = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user