Skip to content

Commit

Permalink
Update chrome process name for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
arshadkazmi42 committed Aug 16, 2019
1 parent e88a599 commit a093a30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/processes.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const CONSTANTS = require('./constants');
module.exports = {
BROWSERS: {
[CONSTANTS.BROWSERS.CHROME]: {
[CONSTANTS.OS.MACOS]: 'Chrome',
[CONSTANTS.OS.MACOS]: 'Google Chrome',
[CONSTANTS.OS.LINUX]: 'chrome',
[CONSTANTS.OS.WINDOWS]: 'chrome.exe'
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "process-name",
"version": "1.0.0",
"version": "1.0.1",
"description": "Application process name cross platform",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { ProcessName, ProcessNameConstants } = require('../index');

const getChrome = () => {
if (process.platform === 'darwin') {
return 'Chrome';
return 'Google Chrome';
}

if (process.platform === 'win32') {
Expand Down

0 comments on commit a093a30

Please sign in to comment.