{"id":44947,"date":"2023-10-03T10:46:19","date_gmt":"2023-10-03T02:46:19","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=44947"},"modified":"2023-10-03T10:46:19","modified_gmt":"2023-10-03T02:46:19","slug":"edbqyqddzmyykfkj","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/44947.html","title":{"rendered":"Electron\u591a\u6807\u7b7e\u9875\uff1a\u5f3a\u5927\u7684\u684c\u9762\u5e94\u7528\u5f00\u53d1\u6846\u67b6"},"content":{"rendered":"
Electron\u662f\u4e00\u6b3e\u5f3a\u5927\u7684\u684c\u9762\u5e94\u7528\u5f00\u53d1\u6846\u67b6\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u6784\u5efa\u51fa\u8de8\u5e73\u53f0\u7684\u684c\u9762\u5e94\u7528\uff0c\u5b83\u7684\u591a\u6807\u7b7e\u9875\u529f\u80fd\u53ef\u4ee5\u6781\u5927\u5730\u63d0\u5347\u5f00\u53d1\u8005\u7684\u5de5\u4f5c\u6548\u7387\u3002\u672c\u6587\u5c06\u4ecb\u7ecdelectron\u591a\u6807\u7b7e\u9875\u7684\u529f\u80fd\u53ca\u5176\u4f18\u52bf\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528electron\u591a\u6807\u7b7e\u9875\u6765\u6784\u5efa\u51fa\u8de8\u5e73\u53f0\u7684\u684c\u9762\u5e94\u7528\u3002<\/p>\n
Electron\u591a\u6807\u7b7e\u9875\u529f\u80fd\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u6784\u5efa\u51fa\u5177\u6709\u591a\u6807\u7b7e\u9875\u7684\u684c\u9762\u5e94\u7528\uff0c\u5b83\u53ef\u4ee5\u63d0\u4f9b\u591a\u4e2a\u6807\u7b7e\u9875\uff0c\u6bcf\u4e2a\u6807\u7b7e\u9875\u90fd\u53ef\u4ee5\u62e5\u6709\u81ea\u5df1\u7684\u5185\u5bb9\uff0c\u4ece\u800c\u5b9e\u73b0\u591a\u4efb\u52a1\u5904\u7406\u7684\u529f\u80fd\uff0c\u6781\u5927\u5730\u63d0\u5347\u5f00\u53d1\u8005\u7684\u5de5\u4f5c\u6548\u7387\u3002\u6b64\u5916\uff0celectron\u591a\u6807\u7b7e\u9875\u8fd8\u53ef\u4ee5\u63d0\u4f9b\u66f4\u591a\u7684\u5b9a\u5236\u5316\u529f\u80fd\uff0c\u6bd4\u5982\u53ef\u4ee5\u81ea\u5b9a\u4e49\u6807\u7b7e\u9875\u7684\u6837\u5f0f\u548c\u5e03\u5c40\uff0c\u4ee5\u53ca\u6dfb\u52a0\u591a\u79cd\u4ea4\u4e92\u5f0f\u5143\u7d20\uff0c\u4ece\u800c\u6ee1\u8db3\u4e0d\u540c\u7684\u5f00\u53d1\u9700\u6c42\u3002<\/p>\n
\u9996\u5148\uff0c\u5f00\u53d1\u8005\u9700\u8981\u642d\u5efaelectron\u5f00\u53d1\u73af\u5883\uff0c\u53ef\u4ee5\u4f7f\u7528electron-forge\u6216\u8005electron-builder\u4e24\u79cd\u5de5\u5177\u6765\u642d\u5efa\u5f00\u53d1\u73af\u5883\uff0c\u8fd9\u4e24\u79cd\u5de5\u5177\u90fd\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u642d\u5efa\u51faelectron\u5f00\u53d1\u73af\u5883\u3002<\/p>\n
\u63a5\u4e0b\u6765\uff0c\u5f00\u53d1\u8005\u9700\u8981\u5b89\u88c5electron-tabs\u63d2\u4ef6\uff0c\u8fd9\u662f\u4e00\u6b3e\u4e13\u95e8\u4e3aelectron\u5f00\u53d1\u7684\u591a\u6807\u7b7e\u9875\u63d2\u4ef6\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u6784\u5efa\u51fa\u5177\u6709\u591a\u6807\u7b7e\u9875\u7684\u684c\u9762\u5e94\u7528\u3002<\/p>\n
\u6700\u540e\uff0c\u5f00\u53d1\u8005\u9700\u8981\u7f16\u5199\u4ee3\u7801\uff0c\u4f7f\u7528electron-tabs\u63d2\u4ef6\u6765\u6784\u5efa\u51fa\u5177\u6709\u591a\u6807\u7b7e\u9875\u7684\u684c\u9762\u5e94\u7528\uff0c\u4ee3\u7801\u7f16\u5199\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528electron-forge\u6216\u8005electron-builder\u8fd9\u4e24\u79cd\u5de5\u5177\u6765\u6253\u5305\u5e94\u7528\uff0c\u4ece\u800c\u53d1\u5e03\u51fa\u8de8\u5e73\u53f0\u7684\u684c\u9762\u5e94\u7528\u3002<\/p>\n
Electron\u591a\u6807\u7b7e\u9875\u529f\u80fd\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u6784\u5efa\u51fa\u8de8\u5e73\u53f0\u7684\u684c\u9762\u5e94\u7528\uff0c\u5b83\u53ef\u4ee5\u63d0\u4f9b\u591a\u4e2a\u6807\u7b7e\u9875\uff0c\u6bcf\u4e2a\u6807\u7b7e\u9875\u90fd\u53ef\u4ee5\u62e5\u6709\u81ea\u5df1\u7684\u5185\u5bb9\uff0c\u4ece\u800c\u5b9e\u73b0\u591a\u4efb\u52a1\u5904\u7406\u7684\u529f\u80fd\uff0c\u6781\u5927\u5730\u63d0\u5347\u5f00\u53d1\u8005\u7684\u5de5\u4f5c\u6548\u7387\u3002<\/strong>\u5f00\u53d1\u8005\u53ef\u4ee5\u4f7f\u7528electron-forge\u6216\u8005electron-builder\u4e24\u79cd\u5de5\u5177\u6765\u642d\u5efaelectron\u5f00\u53d1\u73af\u5883\uff0c\u5e76\u5b89\u88c5electron-tabs\u63d2\u4ef6\uff0c\u4f7f\u7528electron-tabs\u63d2\u4ef6\u6765\u6784\u5efa\u51fa\u5177\u6709\u591a\u6807\u7b7e\u9875\u7684\u684c\u9762\u5e94\u7528\uff0c\u6700\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528electron-forge\u6216\u8005electron-builder\u8fd9\u4e24\u79cd\u5de5\u5177\u6765\u6253\u5305\u5e94\u7528\uff0c\u4ece\u800c\u53d1\u5e03\u51fa\u8de8\u5e73\u53f0\u7684\u684c\u9762\u5e94\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" Electron\u662f\u4e00\u6b3e\u5f3a\u5927\u7684\u684c\u9762\u5e94\u7528\u5f00\u53d1\u6846\u67b6\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u6784\u5efa\u51fa\u8de8\u5e73\u53f0\u7684\u684c\u9762\u5e94\u7528\uff0c\u5b83\u7684\u591a\u6807\u7b7e\u9875\u529f\u80fd\u53ef\u4ee5\u6781\u5927\u5730\u63d0\u5347\u5f00\u53d1\u8005\u7684\u5de5\u4f5c\u6548\u7387\u3002\u672c\u6587\u5c06\u4ecb\u7ecdelectron\u591a\u6807\u7b7e<\/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":[305],"class_list":["post-44947","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-dzjs"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/44947","targetHints":{"allow":["GET"]}}],"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=44947"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/44947\/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=44947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=44947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=44947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}