Update stale Java version checks and messages in GUI

This commit is contained in:
Sapphire committed 2026-08-01 00:35:37 -05:00
1 parent 6d8c5ea9ae
commit 68429e1fb8
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;
};