mirror of
https://gitlab.com/2009scape/Saradomin-Launcher.git
synced 2026-08-01 14:19:14 -06:00
Merge branch 'fixjavapathspace' into 'master'
Fix case where Java path has a space in it See merge request 2009scape/Saradomin-Launcher!45
This commit is contained in:
commit
ec4735ebf9
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ namespace Saradomin.ViewModel.Windows
|
|||
private bool IsJavaVersion11()
|
||||
{
|
||||
string javaVersionOutput = CrossPlatform.RunCommandAndGetOutput(
|
||||
$"{_settingsService.Launcher.JavaExecutableLocation} -version"
|
||||
$"\"{_settingsService.Launcher.JavaExecutableLocation}\" -version"
|
||||
);
|
||||
return javaVersionOutput.Contains("11");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue