Skip to content

Commit

Permalink
fix(readme); add details in readme for win user
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneSet committed Apr 14, 2019
1 parent 3b32247 commit f3e7a3a
Show file tree
Hide file tree
Showing 3 changed files with 593 additions and 1,092 deletions.
41 changes: 37 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# Desktop electron app

Build with electron-vue
Expand All @@ -15,24 +16,56 @@ Build with electron-vue
- request-progress
- axios

#### Build Setup
#### Build Setup (linux)

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:9080
npm run dev

# build electron application for production
npm run build


```

-------

#### Build Setup (windows)

Environment needed (or recommended) :

1. VS Enterprise 2015 with all components (or just community version)
2. Python 2.7 (and ONLY this version)
3. Npm v6.4.1 (or newer)
4. Node v10.15.0 (or newer)

``` bash
# install dependencies
npm install

# install Native Node Modules
npm install --save-dev electron-rebuild

# serve with hot reload at localhost:9080
npm run dev

# build electron application for production
npm run build

# Every time you run "npm install", run this
./node_modules/.bin/electron-rebuild

```
You will get frequently error with drivelist dependency... So we found the fix : Install VS Enterprise 2015 and everything was functional !

More information's here :

---
[Natives Node Modules](https://github.com/electron/electron/blob/v0.37.2/docs/tutorial/using-native-node-modules.md#using-native-node-modules)

This project was generated with [electron-vue](https://github.com/SimulatedGREG/electron-vue)@[8fae476](https://github.com/SimulatedGREG/electron-vue/tree/8fae4763e9d225d3691b627e83b9e09b56f6c935) using [vue-cli](https://github.com/vuejs/vue-cli). Documentation about the original structure can be found [here](https://simulatedgreg.gitbooks.io/electron-vue/content/index.html).
[Our issue on drivelist](https://github.com/balena-io-modules/drivelist/issues/340)

## sudo prompt

Expand All @@ -44,4 +77,4 @@ option 2:

when it come to write image, try to launch the same programm by tring to known where the programm is run

on windows: use more complicated thing while dont elevate with linux
on windows: use more complicated thing while dont elevate with linux
Loading

0 comments on commit f3e7a3a

Please sign in to comment.