Fixed linux jre install

This commit is contained in:
Kevin Rodrigues Borges
2025-09-15 03:17:28 +01:00
parent 4b03b490d7
commit 1ab7722459
28 changed files with 141 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ class AniyomiBridge {
String _getDylibDir(Directory supportDirectory) {
String executablePath = File(Platform.resolvedExecutable).parent.path;
if (Platform.isLinux) {
return path.join(executablePath, "..", "jre", "customjre", "lib", "server");
return path.join(executablePath, "jre", "customjre", "lib", "server");
} else if (Platform.isMacOS) {
return path.join(executablePath, "..", "Resources", "jre", "customjre", "lib", "server");
} else if (Platform.isWindows) {