{"id":41594,"date":"2023-10-05T17:32:09","date_gmt":"2023-10-05T09:32:09","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=41594"},"modified":"2023-10-05T17:32:09","modified_gmt":"2023-10-05T09:32:09","slug":"edyxta","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/41594.html","title":{"rendered":"Electron \u8c03\u7528\u7cfb\u7edf API"},"content":{"rendered":"
Electron \u662f\u4e00\u79cd\u5f00\u6e90\u7684\u6846\u67b6\uff0c\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\uff0c\u5b83\u53ef\u4ee5\u8de8\u591a\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec Windows\uff0cMac OSX \u548c Linux\u3002<\/strong>Electron \u53ef\u4ee5\u8ba9\u5f00\u53d1\u8005\u4f7f\u7528 JavaScript\uff0cHTML \u548c CSS \u6765\u6784\u5efa\u8de8\u5e73\u53f0\u7684\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\uff0c\u540c\u65f6\u4f7f\u7528 Node.js \u6765\u8c03\u7528\u7cfb\u7edf API\uff0c\u4ee5\u63d0\u4f9b\u66f4\u591a\u7684\u529f\u80fd\u3002<\/p>\n Electron \u7684\u4e3b\u8981\u4f18\u52bf\u5728\u4e8e\u5b83\u53ef\u4ee5\u8ba9\u5f00\u53d1\u8005\u7528\u4e00\u79cd\u719f\u6089\u7684\u8bed\u8a00\uff08JavaScript\uff09\u5f00\u53d1\u8de8\u5e73\u53f0\u7684\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\uff0c\u800c\u4e0d\u9700\u8981\u5b66\u4e60\u5176\u4ed6\u7684\u8bed\u8a00\u3002\u6b64\u5916\uff0cElectron \u8fd8\u652f\u6301 Node.js\uff0c\u5b83\u53ef\u4ee5\u65b9\u4fbf\u5730\u8c03\u7528\u7cfb\u7edf API\uff0c\u4ece\u800c\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u5b9e\u73b0\u4e00\u4e9b\u590d\u6742\u7684\u529f\u80fd\u3002<\/p>\n \u4f7f\u7528 Electron \u8c03\u7528\u7cfb\u7edf API \u6709\u8bb8\u591a\u4f18\u52bf\uff1a<\/p>\n \u4f7f\u7528 Electron \u8c03\u7528\u7cfb\u7edf API \u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\uff1a<\/p>\n Electron \u662f\u4e00\u79cd\u5f00\u6e90\u7684\u6846\u67b6\uff0c\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\uff0c\u5b83\u53ef\u4ee5\u8de8\u591a\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec Windows\uff0cMac OSX \u548c Linux\u3002<\/strong>Electron \u53ef\u4ee5\u8ba9\u5f00\u53d1\u8005\u4f7f\u7528 JavaScript\uff0cHTML \u548c CSS \u6765\u6784\u5efa\u8de8\u5e73\u53f0\u7684\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\uff0c\u540c\u65f6\u4f7f\u7528 Node.js \u6765\u8c03\u7528\u7cfb\u7edf API\uff0c\u4ee5\u63d0\u4f9b\u66f4\u591a\u7684\u529f\u80fd\u3002\u4f7f\u7528 Electron \u8c03\u7528\u7cfb\u7edf API \u53ef\u4ee5\u8ba9\u5f00\u53d1\u8005\u8282\u7701\u5b66\u4e60\u65b0\u8bed\u8a00\u7684\u65f6\u95f4\uff0c\u540c\u65f6\u53ef\u4ee5\u5b9e\u73b0\u4e00\u4e9b\u590d\u6742\u7684\u529f\u80fd\uff0c\u4f46\u4e5f\u53ef\u80fd\u5b58\u5728\u5b89\u5168\u95ee\u9898\u3001\u5f71\u54cd\u6027\u80fd\u548c\u5f71\u54cd\u7528\u6237\u4f53\u9a8c\u7684\u98ce\u9669\uff0c\u56e0\u6b64\u5f00\u53d1\u8005\u9700\u8981\u7279\u522b\u6ce8\u610f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" Electron\u662f\u4e00\u79cd\u5f00\u6e90\u7684\u6846\u67b6\uff0c\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\uff0c\u5b83\u53ef\u4ee5\u8de8\u591a\u4e2a\u5e73\u53f0\uff0c\u5305\u62ecWindows\uff0cMacOSX\u548cLinux\u3002E<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[],"class_list":["post-41594","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/41594"}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=41594"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/41594\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=41594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=41594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=41594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}Electron \u7684\u4f18\u52bf<\/h2>\n
\u4f7f\u7528 Electron \u8c03\u7528\u7cfb\u7edf API \u7684\u4f18\u52bf<\/h3>\n
\n
\u4f7f\u7528 Electron \u8c03\u7528\u7cfb\u7edf API \u7684\u7f3a\u70b9<\/h3>\n
\n
\u603b\u7ed3<\/h2>\n