Replace OS X and Mac OS with macOS
This commit is contained in:
parent
52350b5e35
commit
67dd19ed0f
157 changed files with 650 additions and 650 deletions
|
@ -10,7 +10,7 @@ BrowserWindow.prototype._init = function () {
|
|||
// Avoid recursive require.
|
||||
const {app} = require('electron')
|
||||
|
||||
// Simulate the application menu on platforms other than OS X.
|
||||
// Simulate the application menu on platforms other than macOS.
|
||||
if (process.platform !== 'darwin') {
|
||||
const menu = app.getApplicationMenu()
|
||||
if (menu) this.setMenu(menu)
|
||||
|
@ -55,7 +55,7 @@ BrowserWindow.prototype._init = function () {
|
|||
// focus it when we first start to load URL, if we do it earlier it won't
|
||||
// have effect, if we do it later we might move focus in the page.
|
||||
//
|
||||
// Though this hack is only needed on OS X when the app is launched from
|
||||
// Though this hack is only needed on macOS when the app is launched from
|
||||
// Finder, we still do it on all platforms in case of other bugs we don't
|
||||
// know.
|
||||
this.webContents.once('load-url', function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue