Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GorvGoyl authored Nov 1, 2017
1 parent 0c4d947 commit 4f1b189
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,24 @@ If you can't use GitHub, you can use other providers:

npm install

4. 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>"
(on Windows, run in powershell): [Environment]::SetEnvironmentVariable("GH_TOKEN","<YOUR_TOKEN_HERE>","User")
make sure to restart IDE/Terminal to inherit latest env variable.
4. 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>"

(on Windows, run in powershell):

[Environment]::SetEnvironmentVariable("GH_TOKEN","<YOUR_TOKEN_HERE>","User")

make sure to restart IDE/Terminal to inherit latest env variable.

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

./publish.sh
In case of Windows, directly run the command: node_modules/.bin/build --win -p always
6. Release the release on GitHub by going to <https://github.com/iffy/electron-updater-example/releases>, editing the release and clicking "Publish release."
In case of Windows, directly run the command: node_modules/.bin/build --win -p always

6. Release the release on GitHub by going to <https://github.com/iffy/electron-updater-example/releases>, editing the release and clicking "Publish release."

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

Expand Down

0 comments on commit 4f1b189

Please sign in to comment.