Skip to content

Commit e1d6e5a

Browse files
dgolovinjrichter1
authored andcommitted
Java detection does not work under linux
Fix skips msi detection for linux and darwin platforms
1 parent a56a1b5 commit e1d6e5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

browser/model/jdk-install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class JdkInstall extends InstallableItem {
110110
let data = this.getMsiSearchScriptData();
111111
let args = this.getMsiSearchScriptPowershellArgs(msiSearchScript);
112112
let result = Promise.resolve('');
113-
if (Platform.OS !== 'darwin') {
113+
if (Platform.OS == 'win32') {
114114
result = Util.writeFile(msiSearchScript, data).then(()=>{
115115
return Util.executeFile('powershell', args);
116116
});

0 commit comments

Comments
 (0)