diff --git a/package.json b/package.json index 19adcf26f..daeef928c 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,10 @@ "productName": "Atom", "version": "1.63.0-dev", "description": "A hackable text editor for the 21st Century.", + "branding": { + "id": "pulsar", + "properName": "Pulsar" + }, "main": "./src/main-process/main.js", "repository": { "type": "git", diff --git a/src/atom-environment.js b/src/atom-environment.js index ac7196437..207355e73 100644 --- a/src/atom-environment.js +++ b/src/atom-environment.js @@ -46,6 +46,7 @@ const TextEditorRegistry = require('./text-editor-registry'); const AutoUpdateManager = require('./auto-update-manager'); const StartupTime = require('./startup-time'); const getReleaseChannel = require('./get-release-channel'); +const packagejson = require("../package.json"); const stat = util.promisify(fs.stat); @@ -219,6 +220,11 @@ class AtomEnvironment { commands: this.commands, stateStore: this.stateStore }); + + this.branding = { + id: packagejson.branding.id, + properName: packagejson.branding.properName + }; // Keep instances of HistoryManager in sync this.disposables.add(