title: Remove menubar from Finder in Electron on OSX
body: <p>I purchased a new macbook and I am now working on getting my apps to run on a 64bit mac. </p>
  
  <p>However I haven't been able to remove the default menubar. </p>
  
  <p>Is there anyway to change my app name from Electron to something else within Electron via app.js so I don't see Electron in Finder (revert to screenshot for better understanding)? Is there any way to remove the edit, view window, and help menus?</p>
  
  <p><img src="https://i.stack.imgur.com/FJML5.png" alt="screenshot"></p>
  
  <p><strong>package.json</strong>:</p>
  
  <pre><code>{
    "name": "hello",
    "version": "1.0.0",
    "description": "",
    "main": "app.js",
    "scripts": {
      "start": "electron ."
    },
    "author": "",
    "license": "ISC",
    "devDependencies": {
      "electron-prebuilt": "^0.33.0"
    }
  }
  </code></pre>
  
  <p><strong>app.js</strong>:</p>
  
  <pre><code>var app = require("app"),
          BrowserWindow = require("browser-window");
  
  app.on("ready", function() {
    var mainWindow = new BrowserWindow({
      toolbar: false,
      "skip-taskbar": true,
      "auto-hide-menu-bar": true,
      width: 800,
      height: 600
    });
  
    mainWindow.loadUrl("file://" + __dirname + "/index.html");
    mainWindow.setMenuBarVisibility(false);
    mainWindow.setAutoHideMenuBar(true);
    mainWindow.openDevTools();
  });
  </code></pre>
  
  <p><strong>index.html</strong>:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;Hello&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
      Hello world!
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>