Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kenwheeler committed Aug 19, 2017
2 parents 9ec4e1c + 54f878c commit d228aab
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ Download the version for your OS here:

[https://github.com/FormidableLabs/electron-webpack-dashboard/releases/latest](https://github.com/FormidableLabs/electron-webpack-dashboard/releases/latest)

If you are on OSX you also install the App via [Homebrew Cask](https://caskroom.github.io/):

```bash
$ brew cask install webpack-dashboard
```

### Configuring Your Project

First, in your project, install the `webpack-dashboard` beta release:
Expand Down
6 changes: 4 additions & 2 deletions app/menu.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// @flow
import { app, Menu, shell, BrowserWindow } from 'electron';

const webpackDashboardTitle = 'Webpack Dashboard';

export default class MenuBuilder {
mainWindow: BrowserWindow;

Expand Down Expand Up @@ -47,11 +49,11 @@ export default class MenuBuilder {
const subMenuAbout = {
label: 'Electron',
submenu: [
{ label: 'About ElectronReact', selector: 'orderFrontStandardAboutPanel:' },
{ label: `About ${webpackDashboardTitle}`, selector: 'orderFrontStandardAboutPanel:' },
{ type: 'separator' },
{ label: 'Services', submenu: [] },
{ type: 'separator' },
{ label: 'Hide ElectronReact', accelerator: 'Command+H', selector: 'hide:' },
{ label: `Hide ${webpackDashboardTitle}`, accelerator: 'Command+H', selector: 'hide:' },
{ label: 'Hide Others', accelerator: 'Command+Shift+H', selector: 'hideOtherApplications:' },
{ label: 'Show All', selector: 'unhideAllApplications:' },
{ type: 'separator' },
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
"main.prod.js.map",
"package.json"
],
"mac": {
"category": "public.app-category.developer-tools"
},
"dmg": {
"contents": [
{
Expand Down Expand Up @@ -125,7 +128,7 @@
"cross-spawn": "^5.1.0",
"css-loader": "^0.28.3",
"electron": "^1.6.10",
"electron-builder": "^19.8.0",
"electron-builder": "^19.22.1",
"electron-devtools-installer": "^2.2.0",
"enzyme": "^2.9.1",
"enzyme-to-json": "^1.5.1",
Expand Down

0 comments on commit d228aab

Please sign in to comment.