【浏览器&exe桌面应用】用nw.js &Electron -HTML和JavaScript制作exe桌面程序-打造浏览器

2019.06.14 - 30

接着前几篇的讲,尝试了不同方案来制作浏览器,今天又网友提出了新的方案,那么我就来简单记录了解下,多几个方案,多几个出路,遇到问题不用慌。

nw.js

官网 https://nwjs.io/

简单介绍

NW.js is an app runtime based on Chromium and node.js. You can write native apps in HTML and JavaScript with NW.js. It also lets you call Node.js modules directly from the DOM and enables a new way of writing native applications with all Web technologies.

特性

  • Apps written in modern HTML5, CSS3, JS and WebGL.
  • Complete support for Node.js APIs and all its third party modules.
  • Good performance: Node and WebKit run in the same thread: Function calls are made – straightforward; objects are in the same heap and can just reference each other.
  • Easy to package and distribute apps.
  • Available on Linux, Mac OS X and Windows.

NW.js构建桌面应用案例

https://www.cnblogs.com/sener/p/8366164.html

Electron

  • 官网 https://electronjs.org/

简单介绍

The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on Node.js and Chromium and is used by the Atom editor and many other apps.

electron安装+运行+打包成桌面应用+打包成安装文件+开机自启动

https://www.cnblogs.com/kakayang/p/9559777.html

- END -

18
0

Linux 部署项目 Tomcat 不生成 log4j 日志的问题解决思路

发现项目在 Linux 上部署后,Tomcat 不生成 log4j 日志 折腾了好几天,实在不知道什么原因。 […]