{"id":3081,"date":"2015-01-22T03:50:33","date_gmt":"2015-01-22T03:50:33","guid":{"rendered":"http:\/\/enjoyasp.net\/?p=3081"},"modified":"2015-12-04T01:15:21","modified_gmt":"2015-12-04T01:15:21","slug":"nw-%e5%88%b6%e4%bd%9c%e6%a1%8c%e9%9d%a2%e5%ba%94%e7%94%a8%e6%96%b0%e6%96%b9%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/enjoyasp.net\/index.php\/2015\/01\/22\/nw-%e5%88%b6%e4%bd%9c%e6%a1%8c%e9%9d%a2%e5%ba%94%e7%94%a8%e6%96%b0%e6%96%b9%e5%bc%8f\/","title":{"rendered":"NW-\u5236\u4f5c\u684c\u9762\u5e94\u7528\u65b0\u65b9\u5f0f"},"content":{"rendered":"<p style=\"box-sizing: border-box; margin: 0px 0px 1.25rem; padding: 0px; font-family: 'PT Serif', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);\">\n\tnode-webkit\u5f00\u53d1\u684c\u9762\u5e94\u7528 \uff1a\u5c06html\u6253\u5305\u6210exe\u8fd0\u884c\uff0c\u597d\u5904\u4e00\u5ba2\u6237\u4e0d\u7528\u5355\u72ec\u518d\u5b89\u88c5chrome,\uff0c\u6d4f\u89c8\u5668\u8bbe\u7f6e\u53ef\u5c01\u88c5\uff0c\u6bd4\u5982\u5237\u65b0\u7f13\u5b58\u8fd9\u4e9b<br style=\"box-sizing: border-box;\" \/><br \/>\n\t\u662f\u7528c++\u5199\u6210\uff0c\u53ef\u76f4\u63a5\u8bbf\u95ee\u672c\u5730\u8d44\u6e90\uff0c\u754c\u9762\u53ef\u4ee5\u52a0\u83dc\u5355\u3002<br style=\"box-sizing: border-box;\" \/><br \/>\n\tWebKit\u8d1f\u8d23HTML5 UI \u76f8\u5173\u7684\u90e8\u5206\uff0c\u800cNode.js\u8d1f\u8d23\u672c\u5730\u7684API\u63a5\u53e3\uff0c\u6bd4\u5982\u6587\u4ef6\u7cfb\u7edf\uff0c\u7f51\u7edc\uff0c\u8bbe\u5907\u7b49\u3002<\/p>\n<p style=\"box-sizing: border-box; margin: 0px 0px 1.25rem; padding: 0px; font-family: 'PT Serif', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);\">\n\t\u4f7f\u7528\uff1a\u7f16\u8f91package.json \u653e\u5728nw\u6839\u76ee\u5f55\u4e0b,\u7528enigma virtual box\u6253\u5305\u4f7f\u7528<br style=\"box-sizing: border-box;\" \/><br \/>\n\t\u4f5c\u8005\u76f8\u5173\uff1ahttp:\/\/www.csdn.net\/article\/2014-01-08\/2818066-Node-Webkit<\/p>\n<p>\t<strong>\u6e05\u9664\u7f13\u5b58\uff1aC:UsersgoodasongAppDataLocalLvShou\uff0clvshou\u662f\u6307\u5728package.json\u6307\u5b9a\u7684name<\/strong><\/p>\n<p style=\"box-sizing: border-box; margin: 0px 0px 1.25rem; padding: 0px; font-family: 'PT Serif', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);\">\n\t\u4e2d\u6587\u6587\u6863<br style=\"box-sizing: border-box;\" \/><br \/>\n\t\u7528Enigma Virtual\u6253\u5305\u65f6\uff0cdll\u9009\u62e9\uff1a<br style=\"box-sizing: border-box;\" \/><br \/>\n\t<span class=\"hilite\" style=\"box-sizing: border-box; color: rgb(255, 255, 255); background-color: rgb(255, 153, 51);\">nw<\/span>.pak\uff1a\u5fc5\u9700\uff0c\u662fjavascript\u5e93<br style=\"box-sizing: border-box;\" \/><br \/>\n\ticudtl.dat\uff1a\u5fc5\u9700\uff0c\u662f\u7f51\u7edc\u5e93<br style=\"box-sizing: border-box;\" \/><br \/>\n\tffmpegsumo.dll\uff1a\u5a92\u4f53\u5e93\uff0c\u6bd4\u5982\u4f5c\u7528video\u8fd9\u4e9b\u9700\u6709\u6b64dll\u652f\u6301<br style=\"box-sizing: border-box;\" \/><br \/>\n\tlibEGL.dll\uff1awebgl\u4f7f\u7528<br style=\"box-sizing: border-box;\" \/><br \/>\n\tlibGLESv2.dll\uff1agpu\u4f7f\u7528<br style=\"box-sizing: border-box;\" \/><br \/>\n\td3dcompiler_47.dll\uff1a\u8c03\u8bd5webgl\u4f7f\u7528<br style=\"box-sizing: border-box;\" \/><br \/>\n\tpdf.dll<\/p>\n<p style=\"box-sizing: border-box; margin: 0px 0px 1.25rem; padding: 0px; font-family: 'PT Serif', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);\">\n\tEnigma Virtual Box:\u5c06\u591a\u4e2a\u6587\u4ef6\u5982dll,exe\u6253\u5305\u6210\u4e00\u4e2a\u6587\u4ef6\u76f4\u63a5\u53ef\u4ee5\u8fd0\u884c\uff0c\u53ef\u4ee5\u5199\u6ce8\u518c\u8868<\/p>\n<p style=\"box-sizing: border-box; margin: 0px 0px 1.25rem; padding: 0px; font-family: 'PT Serif', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);\">\n\t\u9047\u5230\u7684\u95ee\u9898\uff1a<br style=\"box-sizing: border-box;\" \/><br \/>\n\t\u7cfb\u7edf\u8981\u4f7f\u7528flash\uff0c\u800c\u663e\u793a\u7684\u6548\u679c\u662f\u6709\u4e9b\u7535\u8111flash\u663e\u793a\u6b63\u5e38\uff0c\u6709\u4e9b\u5374\u4e0d\u80fd\u3002<br style=\"box-sizing: border-box;\" \/><br \/>\n\t\u901a\u8fc7\u9605\u8bfbwiki\u77e5\uff0c\u9700\u8981\u589e\u52a0&rdquo;plugin&rdquo;: true,\u9ed8\u8ba4\u662f\u4e0d\u52a0\u8f7d\u63d2\u4ef6\u7684\uff0c\u6b64\u89e3\u51b3\u4e00,\u4f46\u8fd8\u662f\u4f1a\u6709flash\u4e0d\u663e\u793a\u7684\u7535\u8111\uff0c<br style=\"box-sizing: border-box;\" \/><br \/>\n\t\u5728package.json\u6240\u5728\u76ee\u5f55\u589e\u52a0plugins\uff0c\u91cc\u9762\u653e\u5165flash\u63d2\u4ef6NPSWF32_11_8_800_168.dll\uff0c\u6240\u6709\u7535\u8111\u90fd\u53ef\u663e\u793aflash\u3002<br style=\"box-sizing: border-box;\" \/><br \/>\n\t\u539f\u56e0\uff1a\u662f\u5728&rdquo;plugin&rdquo;: true\u540e\uff0cNW\u4f1a\u53bb\u7cfb\u7edf\u76ee\u5f55\u627eflash\u63d2\u4ef6\uff0c\u56e0\u7535\u8111\u5b89\u88c5\u539f\u56e0\uff0c\u53ef\u80fdflash\u63d2\u4ef6\u4e0d\u80fd\u56fa\u5b9a\u7684\u5730\u65b9\uff0c\u7136\u540e\u5b83\u4f1a\u53bbpackage.josn\u6240\u5728\u7684plugins\u4e2d\u67e5\u627e\uff0c\u5c31\u662f\u6211\u4eec\u653eplugins\u76ee\u5f55\u7684\u7684\u6240\u5728\u3002<br style=\"box-sizing: border-box;\" \/><br \/>\n\tpackage.json\uff1a<br style=\"box-sizing: border-box;\" \/><br \/>\n\t{<br style=\"box-sizing: border-box;\" \/><br \/>\n\t&ldquo;main&rdquo;: &ldquo;http:\/\/xxxxx.xx\/login.aspx&rdquo; ,<br style=\"box-sizing: border-box;\" \/><br \/>\n\t&ldquo;name&rdquo;: &ldquo;LvShou&rdquo;,<br style=\"box-sizing: border-box;\" \/><br \/>\n\t&ldquo;version&rdquo;: &ldquo;0.1&rdquo;,<br style=\"box-sizing: border-box;\" \/><br \/>\n\t&ldquo;window&rdquo;: {<br style=\"box-sizing: border-box;\" \/><br \/>\n\t&ldquo;title&rdquo;: &ldquo;\u5fae\u5546\u7ba1\u7406\u7cfb\u7edfV3.0 Powered By asong&rdquo;,<br style=\"box-sizing: border-box;\" \/><br \/>\n\t&ldquo;toolbar&rdquo;: false,<br style=\"box-sizing: border-box;\" \/><br \/>\n\t&ldquo;frame&rdquo;: true,<br style=\"box-sizing: border-box;\" \/><br \/>\n\t&ldquo;width&rdquo;: 1024,<br style=\"box-sizing: border-box;\" \/><br \/>\n\t&ldquo;height&rdquo;: 768,<br style=\"box-sizing: border-box;\" \/><br \/>\n\t&ldquo;position&rdquo;: &ldquo;center&rdquo;,<br style=\"box-sizing: border-box;\" \/><br \/>\n\t&ldquo;resizable&rdquo;: true,<br style=\"box-sizing: border-box;\" \/><br \/>\n\t&ldquo;icon&rdquo;: &ldquo;key.png&rdquo;,<br style=\"box-sizing: border-box;\" \/><br \/>\n\t&ldquo;show&rdquo;: true<br style=\"box-sizing: border-box;\" \/><br \/>\n\t},<br style=\"box-sizing: border-box;\" \/><br \/>\n\t&ldquo;webkit&rdquo;: {<br style=\"box-sizing: border-box;\" \/><br \/>\n\t&ldquo;plugin&rdquo;: true<br style=\"box-sizing: border-box;\" \/><br \/>\n\t}<\/p>\n<p style=\"box-sizing: border-box; margin: 0px 0px 1.25rem; padding: 0px; font-family: 'PT Serif', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);\">\n\t}<\/p>\n<p style=\"box-sizing: border-box; margin: 0px 0px 1.25rem; padding: 0px; font-family: 'PT Serif', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);\">\n\thttps:\/\/github.com\/nwjs\/<span class=\"hilite\" style=\"box-sizing: border-box; color: rgb(255, 255, 255); background-color: rgb(255, 153, 51);\">nw<\/span>.js\/wiki\/Third-party-browser-plugins<\/p>\n","protected":false},"excerpt":{"rendered":"<p>node-webkit\u5f00\u53d1\u684c\u9762\u5e94\u7528 \uff1a\u5c06html\u6253\u5305\u6210exe\u8fd0\u884c\uff0c\u597d\u5904\u4e00\u5ba2\u6237\u4e0d\u7528\u5355\u72ec\u518d\u5b89\u88c5chrome,\uff0c\u6d4f\u89c8 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47],"tags":[],"class_list":["post-3081","post","type-post","status-publish","format-standard","hentry","category-node-js"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts\/3081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/comments?post=3081"}],"version-history":[{"count":0,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts\/3081\/revisions"}],"wp:attachment":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/media?parent=3081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/categories?post=3081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/tags?post=3081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}