Skip to content

Commit

Permalink
Added support for Zorin OS 12, an Ubuntu-based linux distribution (#1160
Browse files Browse the repository at this point in the history
)

* Added support for Zorin OS to platform.ts

* Updated README to show Zorin OSZorin OS support

* Added break to switch in platform.ts
  • Loading branch information
mkaziz authored and gregg-miskelly committed Jan 31, 2017
1 parent bae80cd commit 427da0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ See our [change log](https://github.com/OmniSharp/omnisharp-vscode/blob/master/C
* Windows (64-bit only)
* macOS
* Ubuntu 14.04 / Linux Mint 17 / Linux Mint 18 / Elementary OS 0.3
* Ubuntu 16.04 / Elementary OS 0.4 / Arch
* Ubuntu 16.04 / Elementary OS 0.4 / Arch / Zorin OS 12
* Ubuntu 16.10
* Debian 8.2
* CentOS 7.1 / Oracle Linux 7
Expand Down
5 changes: 5 additions & 0 deletions src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,11 @@ export class PlatformInformation {
const ubuntu_16_10 = 'ubuntu.16.10-x64';

switch (distributionName) {
case 'Zorin OS':
if (distributionVersion === "12") {
return ubuntu_16_04;
}
break;
case 'ubuntu':
if (distributionVersion === "14.04") {
// This also works for Linux Mint
Expand Down

0 comments on commit 427da0c

Please sign in to comment.