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
@@ -23,16 +23,16 @@ You should build this logic by yourself though ([basic example](https://github.c
23
23
24
24
## nwjs-autoupdater
25
25
26
-
The tiny golang application (when built it is just ~2MB), which can be bundled with NWJS application and then used to unpack updates.
26
+
The tiny golang application (when built it is just ~2MB), which can be bundled with NW.js application and then used to unpack updates.
27
27
To update target application updater needs to know two things - where zip archive with the new version is located and where is the app's executable to restart application after update. These can be passed to updater via command line arguments `--bundle` and `--inst-dir`, where `--bundle` is the path to the zip archive with the new app version and `--inst-dir` is the path to app's executable.
28
28
29
29
There are multiple advantages over `node-webkit-updater`:
30
30
31
31
- It can update the updater itself.
32
32
- Doesn't require elevated privilegies (unless application itself has been installed in the folder which require elevated privilegies).
33
-
- Updater's executalbe has way smaller size as it doesn't require bundling the whole new NWJS application with the main application.
33
+
- Updater's executalbe has way smaller size as it doesn't require bundling the whole new NW.js application with the main application.
34
34
35
-
The logic to check for updates needs to be built on your own too. The [example](https://github.com/oaleynik/nwjs-autoupdater/blob/master/examples/index.js) shows the way how to use javascript module as an entry point for NWJS application and check for updates in background.
35
+
The logic to check for updates needs to be built on your own too. The [example](https://github.com/oaleynik/nwjs-autoupdater/blob/master/examples/index.js) shows the way how to use javascript module as an entry point for NW.js application and check for updates in background.
36
36
37
37
## nw-autoupdater
38
38
@@ -47,4 +47,4 @@ The NPM module provides API similar to one of `node-webkit-updater`, but extende
47
47
- Backup actual version and replace it with the new one
48
48
- Restart the updated app from its original location
49
49
50
-
The package includes examples of release server and client.
50
+
The package includes examples of release server and client.
0 commit comments