{"id":11606,"date":"2020-06-19T16:59:15","date_gmt":"2020-06-19T07:59:15","guid":{"rendered":"https:\/\/itport.cloud\/?p=11606"},"modified":"2020-06-19T16:59:15","modified_gmt":"2020-06-19T07:59:15","slug":"post-11606","status":"publish","type":"post","link":"https:\/\/itport.cloud\/?p=11606","title":{"rendered":"(\u7b2c2\u56de)Electron\u3067\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u958b\u767a\u3057\u3088\u3046\uff08\u88fd\u9020\u7de8\u2460\uff09"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"e79baee6aca1-1\">\u76ee\u6b21<\/h2>\n\n\n\n<p><a href=\"#1\">\u306f\u3058\u3081\u306b<\/a><br><a href=\"#2\">\u69cb\u6210<\/a><br><a href=\"#3\">package.json\u306e\u4f5c\u6210<\/a><br><a href=\"#4\">main.js\u306e\u4f5c\u6210<\/a><br><a href=\"#5\">index.html\u306e\u4f5c\u6210<\/a><br><a href=\"#6\">\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8d77\u52d5<\/a><br><a href=\"#7\">\u6b21\u56de\u4e88\u544a<\/a><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"1\">\u306f\u3058\u3081<\/h2>\n\n\n\n<p>\u524d\u56de\u306f\u3001Electron\u958b\u767a\u3092\u884c\u3046\u74b0\u5883\u69cb\u7bc9\u3092\u884c\u3044\u307e\u3057\u305f\u3002  <br>\u4eca\u56de\u304b\u3089\u3001\u5b9f\u969b\u306bElectron\u3067\u306e\u958b\u767a\u3092\u884c\u3044\u307e\u3059\u3002  <br>\u672c\u8a18\u4e8b\u3067\u306f\u3001Electron\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3001\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u3068\u3053\u308d\u307e\u3067\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2\">\u69cb\u6210<\/h2>\n\n\n\n<p>Electron\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u3001\u4ee5\u4e0b\u306e\u69cb\u6210\u304c\u6700\u5c0f\u69cb\u6210\u3067\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nmyApp\n\u251cindex.html\n\u251cmain.js\n\u2514package.json\n<\/pre><\/div>\n\n\n<p>Electron\u306f\u57fa\u672c\u7684\u306bNode.js\u3068\u540c\u3058\u306a\u306e\u3067\u3001Node.js\u3068\u540c\u3058\u304fpackage.json\u306b\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u30fb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u7ba1\u7406\u3001\u30a8\u30f3\u30c8\u30ea\u30dd\u30a4\u30f3\u30c8\u306e\u6307\u5b9a\u306a\u3069\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"3\">package.json\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p>\u307e\u305a\u59cb\u3081\u306b\u3001\u4efb\u610f\u306e\u5834\u6240\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u7528\u306e\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br>\u4eca\u56de\u306f<strong>itport-electron<\/strong>\u30d5\u30a9\u30eb\u30c0\u3068\u3057\u307e\u3059\u3002<br>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u3066\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u3078\u79fb\u52d5\u3057\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnpm init\n<\/pre><\/div>\n\n\n<p>\u3044\u304f\u3064\u304b\u8a2d\u5b9a\u3092\u3069\u3046\u3059\u308b\u304b\u805e\u304b\u308c\u307e\u3059\u304c\u3001\u3068\u308a\u3042\u3048\u305a\u4f55\u3082\u5165\u529b\u305b\u305a<strong>Enter<\/strong>\u3092\u62bc\u3057\u3066\u6b21\u3078\u9032\u3081\u307e\u3059\u3002<br>\u4e00\u901a\u308a\u5b8c\u4e86\u3059\u308b\u3068\u3001\u8a72\u5f53\u30d5\u30a9\u30eb\u30c0\u306b<strong>package.json<\/strong>\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  \"name\": \"itport-electron\",\n  \"version\": \"1.0.0\",\n  \"description\": \"\",\n  \"main\": \"index.js\",\n  \"scripts\": {\n    \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\n  },\n  \"author\": \"\",\n  \"license\": \"ISC\"\n}\n<\/pre><\/div>\n\n\n<p>\u30a8\u30f3\u30c8\u30ea\u30dd\u30a4\u30f3\u30c8\u3092<strong>main.js<\/strong>\u306b\u3057\u305f\u3044\u306e\u3067\u3001<strong>index.js<\/strong>\u3092<strong>main.js<\/strong>\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<br>\u307e\u305f\u3001\u5b9f\u884c\u6642\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u3001<strong>scripts<\/strong>\u30bf\u30b0\u3078\u4ee5\u4e0b\u306e\u3088\u3046\u306bstart\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br>\u203b<strong>test<\/strong>\u306f\u4eca\u56de\u4f7f\u7528\u3057\u306a\u3044\u305f\u3081\u3001\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  \"name\": \"itport-electron\",\n  \"version\": \"1.0.0\",\n  \"description\": \"\",\n  \"main\": \"main.js\",\n  \"scripts\": {\n    \"start\": \"electron .\"\n  },\n  \"author\": \"\",\n  \"license\": \"ISC\"\n}\n<\/pre><\/div>\n\n\n<p>\u3053\u308c\u3067<strong>package.json<\/strong>\u306e\u8a2d\u5b9a\u306f\u5b8c\u4e86\u3057\u305f\u306e\u3067\u3001<strong>main.js<\/strong>\u306e\u4f5c\u6210\u306b\u9032\u307f\u307e\u3059\u3002 <br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"4\">main.js\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p><strong>itport-electron<\/strong>\u30d5\u30a9\u30eb\u30c0\u306b<strong>main.js<\/strong>\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u304c electron\u30a2\u30d7\u30ea\u306e\u30e1\u30a4\u30f3\u30d7\u30ed\u30bb\u30b9\u3067\u3059\u3002<br><strong>electron<\/strong>\u3067\u306f\u3001node.js\u3068\u540c\u3058\u3088\u3046\u306belectron\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4ecb\u3057\u3066\u5404\u6a5f\u80fd\u3092\u5229\u7528\u3057\u307e\u3059\u3002<br>electron\u540d\u524d\u7a7a\u9593\u306b\u3066\u6a5f\u80fd\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001electron\u540d\u524d\u7a7a\u9593\u306b\u3042\u308bapp\u3001BrowserWindow\u30af\u30e9\u30b9\u3092\u4f7f\u3063\u3066\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8d77\u52d5\u3068\u753b\u9762\u306e\u8868\u793a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n\/\/main.js\nconst { app, BrowserWindow } = require('electron')\n\nfunction createWindow () {\n  \/\/ \u30d6\u30e9\u30a6\u30b6\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u4f5c\u6210\n  let win = new BrowserWindow({\n    width: 800,\n    height: 600,\n    webPreferences: {\n      nodeIntegration: true\n    }\n  })\n\n  \/\/ \u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u8aad\u307f\u8fbc\u3080\u753b\u9762\u3092\u6307\u5b9a\n  win.loadFile('index.html')\n}\n\napp.whenReady().then(createWindow)\n<\/pre><\/div>\n\n\n<p>\u4e0a\u8a18\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u6e96\u5099\u304c\u6574\u3046\u306e\u3092\u5f85\u3063\u3066\u3001<strong>index.html<\/strong>\u3092\u753b\u9762\u306b\u8868\u793a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u6700\u5f8c\u306b<strong>index.html<\/strong>\u306e\u4f5c\u6210\u306b\u79fb\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"5\">index.html\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p>\u753b\u9762\u8868\u793a\u3092\u884c\u3046\u305f\u3081\u3001<strong>itport-electron<\/strong>\u30d5\u30a9\u30eb\u30c0\u306b<strong>index.html<\/strong>\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 <br>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u304cBrowserWindow\u3067\u8868\u793a\u3059\u308b\u30ec\u30f3\u30c0\u30e9\u30fc\u30d7\u30ed\u30bb\u30b9\u3068\u306a\u308a\u3001\u30ec\u30f3\u30c0\u30e9\u30fc\u30d7\u30ed\u30bb\u30b9\u306f\u30e1\u30a4\u30f3\u30d7\u30ed\u30bb\u30b9\u3068\u9055\u3063\u3066\u8907\u6570\u8d77\u52d5\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<br><strong>index.html<\/strong>\u306b\u8a18\u8f09\u3059\u308b\u5185\u5bb9\u306f\u901a\u5e38\u306ehtml\u3068\u4f5c\u6cd5\u306f\u5168\u304f\u540c\u3058\u3067\u3059\u304c\u3001\u30ed\u30fc\u30ab\u30eb\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u53c2\u7167\u53ef\u80fd\u3068\u3059\u308b\u305f\u3081\u3001CSP\u30e1\u30bf\u30bf\u30b0\u306b\u3066<strong>file:\/\/<\/strong>\u30d7\u30ed\u30c8\u30b3\u30eb\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u6307\u5b9a\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br>\u307e\u305f\u3001Javascript\u3082\u8a18\u8f09\u3067\u304d\u308b\u306e\u3067\u3001Electron\u306eProcess\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u5229\u7528\u3057\u3066\u3044\u308bnode\u3084chrome\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u3002<br><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&lt;!DOCTYPE html>\n&lt;html>\n  &lt;head>\n    &lt;meta charset=\"UTF-8\">\n    &lt;title>itport-electron&lt;\/title>\n    &lt;!-- https:\/\/electronjs.org\/docs\/tutorial\/security#csp-meta-tag -->\n    &lt;meta http-equiv=\"Content-Security-Policy\" content=\"script-src 'self' 'unsafe-inline';\" \/>\n  &lt;\/head>\n  &lt;body>\n    &lt;h1>Hello World!&lt;\/h1>\n    \u3053\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u4ee5\u4e0b\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\n    &lt;ul>\n        &lt;li>node  &lt;script>document.write(process.versions.node)&lt;\/script>&lt;\/li>\n        &lt;li>chrome  &lt;script>document.write(process.versions.chrome)&lt;\/script>&lt;\/li>\n        &lt;li>Electron  &lt;script>document.write(process.versions.electron)&lt;\/script>&lt;\/li>\n    &lt;\/ul>\n  &lt;\/body>\n&lt;\/html>\n<\/pre><\/div>\n\n\n<p><br><strong>index.html<\/strong>\u306e\u4f5c\u6210\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u5b9f\u969b\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u7acb\u3061\u4e0a\u3052\u3066\u307f\u307e\u3059\u3002<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"6\">\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8d77\u52d5<\/h2>\n\n\n\n<p>itport-electron\u30d5\u30a9\u30eb\u30c0\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnpm start\n<\/pre><\/div>\n\n\n<p>\u30b3\u30de\u30f3\u30c9\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b<strong>start<\/strong>\u306f\u3001\u5148\u307b\u3069<strong>package.json<\/strong>\u306e<strong>scripts<\/strong>\u3078\u8ffd\u52a0\u3057\u305f<strong>start<\/strong>\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6307\u3057\u3066\u3044\u307e\u3059\u3002<br>\u8d77\u52d5\u65b9\u6cd5\u3092\u5909\u3048\u305f\u3044\u5834\u5408\u306f\u3001\u3053\u3053\u306b<strong>dev<\/strong>\u3001<strong>production<\/strong>\u306a\u3069\u4efb\u610f\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u8d77\u52d5\u65b9\u6cd5\u3092\u8907\u6570\u304b\u3089\u6307\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u3001\u8d77\u52d5\u6210\u529f\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"593\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/05\/image-21.png\" alt=\"\" class=\"wp-image-11610\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/05\/image-21.png 786w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/05\/image-21-300x226.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/05\/image-21-768x579.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/05\/image-21-424x320.png 424w\" sizes=\"auto, (max-width: 786px) 100vw, 786px\" \/><\/figure>\n\n\n\n<p>\u30e1\u30cb\u30e5\u30fc\u306eView\uff1eReload\u307e\u305f\u306fCtrl+R\u3067\u518d\u8aad\u307f\u8fbc\u307f\u304c\u3067\u304d\u308b\u305f\u3081\u3001\u30a2\u30d7\u30ea\u3092\u8d77\u52d5\u4e2d\u306bindex.html\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u306b\u3001\u30a2\u30d7\u30ea\u3092\u518d\u8d77\u52d5\u305b\u305a\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<br>\u8a66\u3057\u306b\u3001<strong>Hello World!<\/strong>\u3092<strong>\u30cf\u30ed\u30fc\u30ef\u30fc\u30eb\u30c9\uff01\uff01<\/strong>\u306b\u5909\u66f4\u3057\u3066\u518d\u8aad\u307f\u8fbc\u307f\u3092\u884c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&lt;!DOCTYPE html>\n&lt;html>\n  &lt;head>\n    &lt;meta charset=\"UTF-8\">\n    &lt;title>itport-electron&lt;\/title>\n    &lt;!-- https:\/\/electronjs.org\/docs\/tutorial\/security#csp-meta-tag -->\n    &lt;meta http-equiv=\"Content-Security-Policy\" content=\"script-src 'self' 'unsafe-inline';\" \/>\n  &lt;\/head>\n  &lt;body>\n    &lt;h1>Hello World!&lt;\/h1>\n    \u3053\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u4ee5\u4e0b\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\n    &lt;ul>\n        &lt;li>node  &lt;script>document.write(process.versions.node)&lt;\/script>&lt;\/li>\n        &lt;li>chrome  &lt;script>document.write(process.versions.chrome)&lt;\/script>&lt;\/li>\n        &lt;li>Electron  &lt;script>document.write(process.versions.electron)&lt;\/script>&lt;\/li>\n    &lt;\/ul>\n  &lt;\/body>\n&lt;\/html>\n<\/pre><\/div>\n\n\n<p><strong>index.html<\/strong>\u3092\u4e0a\u8a18\u5185\u5bb9\u3067\u66f4\u65b0\u3057\u3066\u304b\u3089\u518d\u8aad\u307f\u8fbc\u307f\u3092\u884c\u3046\u3068\u3001\u3059\u3050\u306b\u753b\u9762\u8868\u793a\u304c\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u308f\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u305f\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"784\" height=\"593\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/05\/itport-electron1.gif\" alt=\"\" class=\"wp-image-11612\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"7\">\u6b21\u56de\u4e88\u544a<\/h2>\n\n\n\n<p>\u4eca\u56de\u306f\u5b9f\u969b\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<br>\u6b21\u56de\u304b\u3089\u306f\u3082\u3046\u5c11\u3057\u7d30\u304b\u306a\u4f7f\u3044\u65b9\u306b\u89e6\u308c\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br><\/p>\n","protected":false},"excerpt":{"rendered":"\u76ee\u6b21 \u306f\u3058\u3081\u306b\u69cb\u6210package.json\u306e\u4f5c\u6210main.js\u306e\u4f5c\u6210index.html\u306e\u4f5c\u6210\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8d77\u52d5\u6b21\u56de\u4e88\u544a \u306f\u3058\u3081 \u524d\u56de\u306f\u3001Electron\u958b\u767a\u3092\u884c\u3046\u74b0\u5883\u69cb\u7bc9\u3092\u884c\u3044\u307e\u3057\u305f\u3002 \u4eca\u56de\u304b\u3089\u3001\u5b9f\u969b\u306bElectron\u3067\u306e\u958b\u767a\u3092\u884c\u3044\u307e\u3059\u3002 \u672c\u8a18\u4e8b\u3067\u306f\u3001Electron\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3001\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u3068\u3053\u308d\u307e\u3067\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002 \u69cb\u6210 Electron\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u3001\u4ee5\u4e0b\u306e\u69cb\u6210\u304c\u6700\u5c0f\u69cb\u6210\u3067\u3059\u3002 myApp \u251cindex.html \u251cmain.js \u2514package.json Electron\u306f\u57fa\u672c\u7684\u306bNode.js\u3068\u540c\u3058\u306a\u306e\u3067\u3001Node.js\u3068\u540c\u3058\u304fpackage.json\u306b\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u30fb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u7ba1\u7406\u3001\u30a8\u30f3\u30c8\u30ea\u30dd\u30a4\u30f3\u30c8&hellip;","protected":false},"author":24,"featured_media":11806,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[70],"class_list":{"0":"post-11606","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-electron","8":"tag-season23"},"_links":{"self":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/11606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11606"}],"version-history":[{"count":7,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/11606\/revisions"}],"predecessor-version":[{"id":11617,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/11606\/revisions\/11617"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/media\/11806"}],"wp:attachment":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}