{"id":205,"date":"2015-02-13T09:45:51","date_gmt":"2015-02-13T00:45:51","guid":{"rendered":"http:\/\/tech.at-iroha.jp\/?p=205"},"modified":"2015-06-19T14:36:33","modified_gmt":"2015-06-19T05:36:33","slug":"nw-js-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%9f%e3%82%a2%e3%83%97%e3%83%aa%e3%81%ae%e5%ae%9f%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/tech.at-iroha.jp\/?p=205","title":{"rendered":"NW.js \u306b\u3088\u308b\u30a2\u30d7\u30ea\u306e\u5b9f\u884c"},"content":{"rendered":"<p>NW.js \u306b\u3066\u30a2\u30d7\u30ea\u3092\u5b9f\u884c\u3059\u308b\u624b\u9806\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<h2>\u25a0 Mac \u306e\u5834\u5408<\/h2>\n<ol>\n<li><a href=\"http:\/\/nwjs.io\/\">\u516c\u5f0f\u30b5\u30a4\u30c8<\/a>\u304b\u3089NW.js \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9(OSX64 \u3092\u9078\u629e\u3002)<\/li>\n<li>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u9069\u5f53\u306a\u30d5\u30a9\u30eb\u30c0\u306b\u89e3\u51cd\u3057\u3001nwjs.app \u3068\u540c\u3058\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3001app\u30d5\u30a9\u30eb\u30c0(\u4ed6\u306e\u540d\u524d\u3067\u3082\u53ef)\u3092\u4f5c\u6210<\/li>\n<li>app\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u305d\u308c\u305e\u308c\u4ee5\u4e0b\u306e\u5185\u5bb9\u306e index.html,\u00a0package.json \u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210<br \/>\nindex.html<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n    &lt;head&gt;\r\n        &lt;meta charset=&quot;UTF-8&quot;&gt;\r\n        &lt;title&gt;Untitled Document&lt;\/title&gt;\r\n    &lt;\/head&gt;\r\n    &lt;body&gt;\r\n        Hello World\r\n    &lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p>package.json<br \/>\n(\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3002JSON\u5f62\u5f0f\u3067\u8a18\u8ff0\u3002\u5177\u4f53\u7684\u306b\u8a18\u8ff0\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/github.com\/nwjs\/nw.js\/wiki\/Manifest-format\" target=\"_blank\">\u3053\u3053<\/a>\u3092\u53c2\u7167\u3002)<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n{\r\n  &quot;name&quot;: &quot;hello-world&quot;,\r\n  &quot;main&quot;: &quot;index.html&quot;,\r\n  &quot;window&quot;: {\r\n    &quot;toolbar&quot;: false\r\n  }\r\n}\r\n<\/pre>\n<p>\u30d5\u30a9\u30eb\u30c0\u69cb\u6210<\/p>\n<pre class=\"brush: plain; gutter: false; title: ; notranslate\" title=\"\">\r\n\/app\/index.html\r\n\/app\/package.json\r\n\/nwjs.app\r\n\r\n<\/pre>\n<\/li>\n<li>terminal \u3092\u8d77\u52d5<\/li>\n<li>nwjs.app \u306e\u3042\u308b\u30d5\u30a9\u30eb\u30c0\u3078\u79fb\u52d5<br \/>\ncd [xxx]<\/li>\n<li>nwjs.app\/Contents\/MacOS\/nwjs app \u3092\u5b9f\u884c<\/li>\n<\/ol>\n<p>\u30a2\u30d7\u30ea\u304c\u8d77\u52d5\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/i.gyazo.com\/0199c1b0ffbfd02e8429bea49ea6a4b6.png\" alt=\"\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>\u25a0 Windows \u306e\u5834\u5408<\/h2>\n<ol>\n<li><a href=\"http:\/\/nwjs.io\/\">\u516c\u5f0f\u30b5\u30a4\u30c8<\/a>\u304b\u3089NW.js \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9(OS\u306b\u5408\u308f\u305b\u3066 Win64, Win32 \u3092\u9078\u629e\u3002)<\/li>\n<li>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u9069\u5f53\u306a\u30d5\u30a9\u30eb\u30c0\u306b\u89e3\u51cd\u3057\u3001nw.exe \u3068\u540c\u3058\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3001app\u30d5\u30a9\u30eb\u30c0(\u4ed6\u306e\u540d\u524d\u3067\u3082\u53ef)\u3092\u4f5c\u6210<\/li>\n<li>app\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u305d\u308c\u305e\u308c\u4ee5\u4e0b\u306e\u5185\u5bb9\u306e index.html,\u00a0package.json \u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210<br \/>\nindex.html<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n    &lt;head&gt;\r\n        &lt;meta charset=&quot;UTF-8&quot;&gt;\r\n        &lt;title&gt;Untitled Document&lt;\/title&gt;\r\n    &lt;\/head&gt;\r\n    &lt;body&gt;\r\n        Hello World\r\n    &lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p>package.json<br \/>\n(\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3002JSON\u5f62\u5f0f\u3067\u8a18\u8ff0\u3002\u5177\u4f53\u7684\u306b\u8a18\u8ff0\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/github.com\/nwjs\/nw.js\/wiki\/Manifest-format\" target=\"_blank\">\u3053\u3053<\/a>\u3092\u53c2\u7167\u3002)<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n{\r\n  &quot;name&quot;: &quot;hello-world&quot;,\r\n  &quot;main&quot;: &quot;index.html&quot;,\r\n  &quot;window&quot;: {\r\n    &quot;toolbar&quot;: false\r\n  }\r\n}\r\n<\/pre>\n<p>\u30d5\u30a9\u30eb\u30c0\u69cb\u6210<br \/>\n<img decoding=\"async\" src=\"http:\/\/i.gyazo.com\/b987e9dea316c760db9a98082d0f2150.png\" alt=\"\" \/><\/li>\n<li>Command Prompt \u3092\u8d77\u52d5<\/li>\n<li>nwjs.app \u306e\u3042\u308b\u30d5\u30a9\u30eb\u30c0\u3078\u79fb\u52d5<br \/>\ncd [xxx]<\/li>\n<li>nw app \u3092\u5b9f\u884c<br \/>\n(\u3082\u3057\u304f\u306f app \u30d5\u30a9\u30eb\u30c0\u3092 nw.exe \u306b\u30c9\u30e9\u30c3\u30b0\u30a2\u30f3\u30c9\u30c9\u30ed\u30c3\u30d7)<\/li>\n<\/ol>\n<p>\u30a2\u30d7\u30ea\u304c\u8d77\u52d5\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/i.gyazo.com\/94fbac6591a846590f6103a4996363b1.png\" alt=\"\" \/><\/p>\n<p>\u516c\u5f0f\u306e\u60c5\u5831\u306f\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3067\u78ba\u8a8d\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/nwjs\/nw.js\/wiki\/How-to-run-apps\" target=\"_blank\">How to run apps<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>NW.js \u306b\u3066\u30a2\u30d7\u30ea\u3092\u5b9f\u884c\u3059\u308b\u624b\u9806\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002 \u25a0 Mac \u306e\u5834\u5408 \u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089NW.js \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9(OSX64 \u3092\u9078\u629e\u3002) \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u9069\u5f53\u306a\u30d5\u30a9\u30eb\u30c0\u306b\u89e3\u51cd\u3057\u3001nwjs.app \u3068\u540c\u3058\u30d5\u30a9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":349,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,13,1],"tags":[],"class_list":["post-205","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html5js","category-nw-js","category-unclassified"],"_links":{"self":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts\/205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=205"}],"version-history":[{"count":23,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts\/205\/revisions"}],"predecessor-version":[{"id":247,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts\/205\/revisions\/247"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/media\/349"}],"wp:attachment":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}