Skip to content

Commit

Permalink
Fix code block syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
iffy committed Feb 3, 2017
1 parent d7654da commit 01790a9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@ This repo contains the bare minimum code to have an auto-updating Electron app u

1. First, install necessary dependencies with:

npm install
```
npm install
```

2. Generate a GitHub access token by going to <https://github.com/settings/tokens/new>. The access token should have the `repo` scope/permission. Once you have the token, assign it to an environment variable (on macOS/linux):

export GH_TOKEN="<YOUR_TOKEN_HERE>"
```
export GH_TOKEN="<YOUR_TOKEN_HERE>"
```

3. Publish with the `publish.sh` script:

./publish.sh
```
./publish.sh
```

4. Download and install the app from <https://github.com/iffy/electron-updater-example/releases>.

Expand Down

0 comments on commit 01790a9

Please sign in to comment.