Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for Zorin OS 12, an Ubuntu-based linux distribution #1160

Merged
merged 3 commits into from
Jan 31, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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