Skip to content

Commit 4f1b189

Browse files
authored
Update README.md
1 parent 0c4d947 commit 4f1b189

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,24 @@ If you can't use GitHub, you can use other providers:
3535

3636
npm install
3737

38-
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
39-
(on macOS/linux): export GH_TOKEN="<YOUR_TOKEN_HERE>"
40-
(on Windows, run in powershell): [Environment]::SetEnvironmentVariable("GH_TOKEN","<YOUR_TOKEN_HERE>","User")
41-
make sure to restart IDE/Terminal to inherit latest env variable.
38+
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
39+
40+
(on macOS/linux):
41+
42+
export GH_TOKEN="<YOUR_TOKEN_HERE>"
43+
44+
(on Windows, run in powershell):
45+
46+
[Environment]::SetEnvironmentVariable("GH_TOKEN","<YOUR_TOKEN_HERE>","User")
47+
48+
make sure to restart IDE/Terminal to inherit latest env variable.
4249

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

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

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

0 commit comments

Comments
 (0)