Skip to content

Commit

Permalink
instructions to package electron app
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-beck committed Jan 28, 2020
1 parent e578718 commit 8ef220e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -11,3 +11,5 @@ bin-release/
# should NOT be excluded as they contain compiler settings and other important
# information for Eclipse / Flash Builder.
electron/node_modules/

electron/survis-electron-win32-x64/
24 changes: 22 additions & 2 deletions electron/readme.md
@@ -1,6 +1,26 @@
Init npm, install electron, and start
# SurVis as an Electron Desktop App

## Init npm, install electron
https://www.electronjs.org/docs/tutorial/first-app

```
npm init
npm install --save-dev electron
npm start
```

## Run electron app
```
npm start
```

## Package app

Install packager:
```
npm install electron-packager -g
```

Package:
```
electron-packager . --extra-resource=../src --overwrite
```

0 comments on commit 8ef220e

Please sign in to comment.