Skip to content

Commit

Permalink
revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNesta committed Oct 6, 2017
1 parent 055dc14 commit 1fea377
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions docs/build-instructions-electron.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,3 @@ copy node_modules\greenworks\samples\electron\main.js renderer.js
```shell
npm start
```

## A Note on electron-builder

[electron-builder](https://github.com/electron-userland/electron-builder) is the most common solution to build and package Electron applications, so you might be using it. If you are, then you will want to make sure that the Greenworks dependencies don't get included or compiled in the actual end-user release. You can do this by having the following in your `package.json` file:

```
"build": {
"files": [
"!node_modules/greenworks/deps/**/*"
]
},
```
2 changes: 1 addition & 1 deletion docs/gotchas.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ is initialized, Steam will prevent the user from opening that game, saying that
for your OS. This means that if you want to build Greenworks for all 3 platforms
(Windows, Mac, Linux), you need to setup 3 different platforms.

## Using Greenworks with Electron
## Using Greenworks with electron-builder

* If you are using Electron, that then you might be using
[electron-builder](https://github.com/electron-userland/electron-builder),
Expand Down

0 comments on commit 1fea377

Please sign in to comment.