mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-20 00:51:20 -08:00
Update stale Java version checks and messages in GUI
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -53,7 +53,7 @@ linux:
|
||||
icon: "./resources/icons"
|
||||
|
||||
deb:
|
||||
depends: [openjdk-17-jre-headless, udev]
|
||||
depends: [openjdk-25-jre-headless, udev]
|
||||
afterInstall: "./resources/scripts/postinstall.sh"
|
||||
afterRemove: "./resources/scripts/postremove.sh"
|
||||
|
||||
|
||||
@@ -413,7 +413,7 @@ const spawnServer = async () => {
|
||||
if (!javaBin) {
|
||||
dialog.showErrorBox(
|
||||
'SlimeVR',
|
||||
'Unable to find a compatible Java version, please download Java 17 or higher'
|
||||
'Unable to find a compatible Java version, please download Java 25 or higher'
|
||||
);
|
||||
app.quit();
|
||||
return;
|
||||
|
||||
@@ -104,7 +104,7 @@ export const findSystemJRE = async (sharedDir: string) => {
|
||||
resolve(version);
|
||||
});
|
||||
});
|
||||
if (version && version >= 17) return path;
|
||||
if (version && version >= 25) return path;
|
||||
}
|
||||
return null;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user