Skip to content

Commit 427da0c

Browse files
mkazizgregg-miskelly
authored andcommitted
Added support for Zorin OS 12, an Ubuntu-based linux distribution (#1160)
* Added support for Zorin OS to platform.ts * Updated README to show Zorin OSZorin OS support * Added break to switch in platform.ts
1 parent bae80cd commit 427da0c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ See our [change log](https://github.com/OmniSharp/omnisharp-vscode/blob/master/C
3434
* Windows (64-bit only)
3535
* macOS
3636
* Ubuntu 14.04 / Linux Mint 17 / Linux Mint 18 / Elementary OS 0.3
37-
* Ubuntu 16.04 / Elementary OS 0.4 / Arch
37+
* Ubuntu 16.04 / Elementary OS 0.4 / Arch / Zorin OS 12
3838
* Ubuntu 16.10
3939
* Debian 8.2
4040
* CentOS 7.1 / Oracle Linux 7

src/platform.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,11 @@ export class PlatformInformation {
265265
const ubuntu_16_10 = 'ubuntu.16.10-x64';
266266

267267
switch (distributionName) {
268+
case 'Zorin OS':
269+
if (distributionVersion === "12") {
270+
return ubuntu_16_04;
271+
}
272+
break;
268273
case 'ubuntu':
269274
if (distributionVersion === "14.04") {
270275
// This also works for Linux Mint

0 commit comments

Comments
 (0)