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
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ If you can't use GitHub, you can use other providers:
8
8
**NOTE:** If you want to run through this whole process, you will need to fork this repo on GitHub and replace all instances of `iffy` with your GitHub username before doing the following steps.
9
9
10
10
1. For macOS, you will need a code-signing certificate.
11
-
12
-
Install Xcode (from the App Store), then follow [these instructions](https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html#//apple_ref/doc/uid/TP40012582-CH31-SW6) to make sure you have a "Mac Developer" certificate. If you'd like to export the certificate (for automated building, for instance) [you can](https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html#//apple_ref/doc/uid/TP40012582-CH31-SW7). You would then follow [these instructions](https://github.com/electron-userland/electron-builder/wiki/Code-Signing).
11
+
12
+
Install Xcode (from the App Store), then follow [these instructions](https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html#//apple_ref/doc/uid/TP40012582-CH31-SW6) to make sure you have a "Mac Developer" certificate. If you'd like to export the certificate (for automated building, for instance) [you can](https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html#//apple_ref/doc/uid/TP40012582-CH31-SW7). You would then follow [these instructions](https://www.electron.build/code-signing).
13
13
14
14
2. Adjust `package.json` if needed.
15
15
@@ -30,12 +30,12 @@ If you can't use GitHub, you can use other providers:
30
30
3. Install necessary dependencies with:
31
31
32
32
yarn
33
-
33
+
34
34
or
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
39
39
40
40
On macOS/linux:
41
41
@@ -62,7 +62,7 @@ If you can't use GitHub, you can use other providers:
62
62
"publish": "build --mac --win -p always"
63
63
},
64
64
...
65
-
65
+
66
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."
67
67
68
68
7. Download and install the app from <https://github.com/iffy/electron-updater-example/releases>.
@@ -72,4 +72,3 @@ If you can't use GitHub, you can use other providers:
72
72
9. Do steps 5 and 6 again.
73
73
74
74
10. Open the installed version of the app and see that it updates itself.
0 commit comments