Skip to content

Commit d152b3a

Browse files
committed
added steps for missing Windows platform
1 parent 85a52d1 commit d152b3a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@ 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 (on macOS/linux):
39-
40-
export GH_TOKEN="<YOUR_TOKEN_HERE>"
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.
4142

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

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

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

0 commit comments

Comments
 (0)