![]() NW.js comes with a full copy of the node.js framework. Note updating the Safari app does not affect this: only updating the entire macOS system will update the version of WKWebView in use. For example on macOS 10.14, WKWebView is based on Safari 12, on macOS 10.15 it's based on Safari 13, and so on. The version available is based on the version of Safari that originally shipped with macOS. The macOS wrapper is based on WKWebView, which is based on Safari's browser engine (WebKit). See the tutorial on the WebView2 wrapper for more details. You can still bundle a full browser engine with your app when using the WebView2 runtime (using "fixed" distribution mode), but the default "evergreen" mode is recommended. Note the WebView2 runtime is also based on the Chromium browser engine (which is used by both Microsoft Edge and Google Chrome). ![]() The WebView2 runtime also auto-updates so you don't need to publish updates to your app just to update the browser engine. You don't need to ship a full copy of a browser engine with the app, which means it has a much smaller file size overhead (under 1mb). On the other hand, the Windows wrapper is based on the WebView2 runtime, which is part of Windows. This is also a fixed version of the browser engine: it will never update unless you publish an update to your app using a newer version of NW.js. This adds about 80-90mb to the download size. One of the main differences is when exporting to NW.js, your project is bundled with a full copy of the Chromium browser engine. Currently there are only lightweight wrappers available for Windows and macOS. The NW.js export option can also provide Linux apps. This tutorial covers the differences between them. See the tutorials Exporting desktop apps with NW.js, Exporting to Windows with the WebView2 wrapper and Exporting to macOS with the WKWebView wrapper to learn more about each. There are also lightweight Windows wrapper (based on WebView2) and macOS wrapper (based on WKWebView) export options. The NW.js export option can provide Windows and macOS desktop apps. ![]() Construct provides two export options for both Windows and macOS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |