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

Move getDefaultDeviceName into the Platforms #2643

Merged
merged 1 commit into from
Nov 24, 2016

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Nov 24, 2016

So we can have a sensible device name on Electron

So we can have a sensible device name on Electron
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm otherwise

console.log(window.process);
switch (window.process.platform) {
case 'darwin':
return 'macOS';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MacOS?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope: http://www.apple.com/uk/macos/sierra/ #branding #lowercase #flatdesign

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#bollocks

@richvdh richvdh assigned dbkr and unassigned richvdh Nov 24, 2016
@dbkr dbkr merged commit ac2911c into develop Nov 24, 2016
@dbkr dbkr deleted the dbkr/device_name_to_platform branch December 14, 2016 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants