Mark atom-shell version as deprecated

This commit is contained in:
Kevin Sawicki 2016-09-16 15:57:07 -07:00
parent d4b204799d
commit 1072519488
6 changed files with 16 additions and 5 deletions

View file

@ -117,8 +117,10 @@ void AtomBindings::BindTo(v8::Isolate* isolate,
mate::Dictionary versions;
if (dict.Get("versions", &versions)) {
versions.Set(ATOM_PROJECT_NAME, ATOM_VERSION_STRING);
versions.Set("atom-shell", ATOM_VERSION_STRING); // For compatibility.
versions.Set("chrome", CHROME_VERSION_STRING);
// TODO(kevinsawicki): Remove in 2.0
versions.Set("atom-shell", ATOM_VERSION_STRING);
}
}