mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-04 16:44:35 +02:00
Merge branch 'PrismLauncher:develop' into develop
This commit is contained in:
commit
00fa65c18b
@ -442,9 +442,15 @@ QList<QString> JavaUtils::FindJavaPaths()
|
||||
QString fileName = info.fileName();
|
||||
return fileName.startsWith("openjdk-") || fileName.startsWith("openj9-");
|
||||
};
|
||||
// AOSC OS's locations for openjdk
|
||||
auto aoscFilter = [](const QFileInfo& info) {
|
||||
QString fileName = info.fileName();
|
||||
return fileName == "java" || fileName.startsWith("java-");
|
||||
};
|
||||
scanJavaDir("/usr/lib64", gentooFilter);
|
||||
scanJavaDir("/usr/lib", gentooFilter);
|
||||
scanJavaDir("/opt", gentooFilter);
|
||||
scanJavaDir("/usr/lib", aoscFilter);
|
||||
// javas stored in Prism Launcher's folder
|
||||
scanJavaDirs("java");
|
||||
// manually installed JDKs in /opt
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Prism Launcher is packaged in [nixpkgs](https://github.com/NixOS/nixpkgs/) since 22.11.
|
||||
|
||||
See [Package variants](#package-variants) for a list of available packages.
|
||||
Check the [NixOS Wiki](https://wiki.nixos.org/wiki/Prism_Launcher) for up-to-date instructions.
|
||||
|
||||
## Installing a development release (flake)
|
||||
|
||||
@ -223,4 +223,3 @@ The following parameters can be overridden:
|
||||
- `jdks` (default: `[ jdk21 jdk17 jdk8 ]`) Java runtimes added to `PRISMLAUNCHER_JAVA_PATHS` variable
|
||||
- `msaClientID` (default: `null`, requires full rebuild!) Client ID used for Microsoft Authentication
|
||||
- `textToSpeechSupport` (default: `isLinux`) Turn on/off support for text-to-speech on Linux (macOS will always have this)
|
||||
- `withWaylandGLFW` (default: `isLinux`) Build with support for native Wayland via a custom GLFW
|
||||
|
Loading…
x
Reference in New Issue
Block a user