http://nwjs.io/
http://nwjs.io/downloads/
文档
http://docs.nwjs.io/en/latest/For%20Users/Getting%20Started/
说明
http://damoqiongqiu.iteye.com/blog/2010720
打包说明
http://docs.nwjs.io/en/latest/For%20Users/Package%20and%20Distribute/
使用说明:
package.json
{
"name": "helloworld",
"main": "index.html"
}
index.html
<!DOCTYPE html>
<html>
<head>
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
<script>
alert("This is example2!");
</script>
</body>
</html>
打成zip包 复制到nw目录,拖动包到nw.exe上即可运行;
生成exe发行包
命令行
copy /b nw.exe+hello.zip hello.exe