Merge pull request #736 from kamszyc/patch-1
Add Linux Mint 18 case to switch statement
This commit is contained in:
Коммит
ea83d030b5
|
@ -93,6 +93,14 @@ export function getCurrentPlatform() {
|
|||
return Platform.Ubuntu16;
|
||||
}
|
||||
|
||||
break;
|
||||
case 'linuxmint':
|
||||
const lmVersionId = getValue("VERSION_ID");
|
||||
if (lmVersionId.startsWith("18")) {
|
||||
// Linux Mint 18 is binary compatible with Ubuntu 16.04
|
||||
return Platform.Ubuntu16;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче