You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-8Lines changed: 19 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,24 +35,35 @@ If you can't use GitHub, you can use other providers:
35
35
36
36
npm install
37
37
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
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
make sure to restart IDE/Terminal to inherit latest env variable.
48
+
Make sure to restart IDE/Terminal to inherit latest env variable.
49
49
50
-
5. Publish with the `publish.sh` script:
50
+
5. Publish for your platform with:
51
51
52
-
./publish.sh
53
-
In case of Windows, directly run the command: ```node_modules/.bin/build --win -p always```
52
+
build -p always
53
+
54
+
or
55
+
56
+
npm run publish
57
+
58
+
If you want to publish for more platforms, edit the `publish` script in `package.json`. For instance, to build for Windows and macOS:
59
+
60
+
...
61
+
"scripts": {
62
+
"publish": "build --mac --win -p always"
63
+
},
64
+
...
54
65
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."
66
+
6. Release the release on GitHub by going to <https://github.com/iffy/electron-updater-example/releases>, editing the release and clicking "Publish release."
56
67
57
68
7. Download and install the app from <https://github.com/iffy/electron-updater-example/releases>.
0 commit comments