軟件開(kāi)發(fā)
http://m.shikeng.cn/
en
-
electron打包多平臺(tái)
http://m.shikeng.cn/node/169
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'field' -->
<!-- FILE NAME SUGGESTIONS:
* field--title--rss.html.twig
* field--node--title--knowledge-epository.html.twig
x field--node--title.html.twig
* field--node--knowledge-epository.html.twig
* field--title.html.twig
* field--string.html.twig
* field.html.twig
-->
<!-- BEGIN OUTPUT from 'core/modules/node/templates/field--node--title.html.twig' -->
<span>electron打包多平臺(tái)</span>
<!-- END OUTPUT from 'core/modules/node/templates/field--node--title.html.twig' -->
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'field' -->
<!-- FILE NAME SUGGESTIONS:
* field--uid--rss.html.twig
* field--node--uid--knowledge-epository.html.twig
x field--node--uid.html.twig
* field--node--knowledge-epository.html.twig
* field--uid.html.twig
* field--entity-reference.html.twig
* field.html.twig
-->
<!-- BEGIN OUTPUT from 'core/modules/node/templates/field--node--uid.html.twig' -->
<span>
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'username' -->
<!-- BEGIN OUTPUT from 'core/modules/user/templates/username.html.twig' -->
<span>ynqkjdcom</span>
<!-- END OUTPUT from 'core/modules/user/templates/username.html.twig' -->
</span>
<!-- END OUTPUT from 'core/modules/node/templates/field--node--uid.html.twig' -->
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'field' -->
<!-- FILE NAME SUGGESTIONS:
* field--created--rss.html.twig
* field--node--created--knowledge-epository.html.twig
x field--node--created.html.twig
* field--node--knowledge-epository.html.twig
* field--created.html.twig
* field--created.html.twig
* field.html.twig
-->
<!-- BEGIN OUTPUT from 'core/modules/node/templates/field--node--created.html.twig' -->
<span>Tue, 08/05/2025 - 05:31</span>
<!-- END OUTPUT from 'core/modules/node/templates/field--node--created.html.twig' -->
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'links__node' -->
<!-- FILE NAME SUGGESTIONS:
* links--node.html.twig
x links.html.twig
-->
<!-- BEGIN OUTPUT from 'themes/gavias_meipaly/templates/navigation/links.html.twig' -->
<!-- END OUTPUT from 'themes/gavias_meipaly/templates/navigation/links.html.twig' -->
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'field' -->
<!-- FILE NAME SUGGESTIONS:
* field--body--rss.html.twig
* field--node--body--knowledge-epository.html.twig
* field--node--body.html.twig
* field--node--knowledge-epository.html.twig
* field--body.html.twig
* field--text-with-summary.html.twig
x field.html.twig
-->
<!-- BEGIN OUTPUT from 'themes/gavias_meipaly/templates/field.html.twig' -->
<div class="field field--name-body field--type-text-with-summary field--label-hidden field__item"><h4 class="header-vfC6AV auto-hide-last-sibling-br" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);box-sizing:border-box;color:rgb(0, 0, 0);font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;letter-spacing:normal;line-height:28px;margin-bottom:8px !important;margin-top:24px;orphans:2;outline:none;overflow-anchor:auto;padding-bottom:0px !important;text-align:start;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><strong>一、核心打包工具</strong></h4><ul class="auto-hide-last-sibling-br" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);box-sizing:border-box;color:rgb(0, 0, 0);font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-weight:400;letter-spacing:normal;margin-bottom:8px !important;margin-top:8px !important;orphans:2;outline:none;overflow-anchor:auto;padding-left:20px;text-align:start;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><li style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);box-sizing:border-box;color:rgba(0, 0, 0, 0.85) !important;font-size:16px;font-weight:400;line-height:28px;list-style-type:disc;outline:none;overflow-anchor:auto;padding-left:4px;"><strong style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);box-sizing:border-box;color:rgb(0, 0, 0) !important;font-size:16px;line-height:28px;outline:none;overflow-anchor:auto;">electron-packager</strong>:官方推薦的基礎(chǔ)打包工具,可生成未簽名的可執(zhí)行文件(<code style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);background:none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06);border-radius:4px;box-sizing:border-box;color:rgb(0, 0, 0);font-family:Menlo, Monaco, Consolas, "Courier New", monospace;font-size:14px;outline:none;overflow-anchor:auto;">.exe</code>)或文件夾形式的應(yīng)用。</li><li style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);box-sizing:border-box;color:rgba(0, 0, 0, 0.85) !important;font-size:16px;font-weight:400;line-height:28px;list-style-type:disc;margin-top:8px;outline:none;overflow-anchor:auto;padding-left:4px;"><strong style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);box-sizing:border-box;color:rgb(0, 0, 0) !important;font-size:16px;line-height:28px;outline:none;overflow-anchor:auto;">electron-builder</strong>:功能更強(qiáng)大的打包工具,支持生成安裝包(<code style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);background:none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06);border-radius:4px;box-sizing:border-box;color:rgb(0, 0, 0);font-family:Menlo, Monaco, Consolas, "Courier New", monospace;font-size:14px;outline:none;overflow-anchor:auto;">.exe</code>、<code style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);background:none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06);border-radius:4px;box-sizing:border-box;color:rgb(0, 0, 0);font-family:Menlo, Monaco, Consolas, "Courier New", monospace;font-size:14px;outline:none;overflow-anchor:auto;">.msi</code>)、自動(dòng)簽名、配置圖標(biāo)、添加安裝向?qū)У龋m合生產(chǎn)環(huán)境。</li></ul><p><span style="-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);color:rgba(0, 0, 0, 0.85);display:inline !important;float:none;font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-weight:400;letter-spacing:normal;orphans:2;text-align:start;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;">實(shí)際開(kāi)發(fā)中,</span><strong style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);box-sizing:border-box;color:rgb(0, 0, 0) !important;font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;letter-spacing:normal;line-height:28px;orphans:2;outline:none;overflow-anchor:auto;text-align:start;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;">electron-builder</strong><span style="-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);color:rgba(0, 0, 0, 0.85);display:inline !important;float:none;font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-weight:400;letter-spacing:normal;orphans:2;text-align:start;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"> 因功能全面而被廣泛使用,本文采用</span><strong style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);box-sizing:border-box;color:rgb(0, 0, 0) !important;font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;letter-spacing:normal;line-height:28px;orphans:2;outline:none;overflow-anchor:auto;text-align:start;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;">electron-builder</strong><span style="-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);color:rgba(0, 0, 0, 0.85);display:inline !important;float:none;font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-weight:400;letter-spacing:normal;orphans:2;text-align:start;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;">。</span></p><h4 class="header-vfC6AV auto-hide-last-sibling-br" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);box-sizing:border-box;color:rgb(0, 0, 0);font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;letter-spacing:normal;line-height:28px;margin-bottom:8px !important;margin-top:24px;orphans:2;outline:none;overflow-anchor:auto;padding-bottom:0px !important;text-align:start;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><strong>二、Windows 打包格式</strong></h4><ol class="auto-hide-last-sibling-br" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);box-sizing:border-box;color:rgb(0, 0, 0);font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-weight:400;letter-spacing:normal;margin-bottom:8px !important;margin-top:8px !important;orphans:2;outline:none;overflow-anchor:auto;padding-left:20px;text-align:start;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><li style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);box-sizing:border-box;color:rgba(0, 0, 0, 0.85) !important;font-size:16px;font-weight:400;line-height:28px;list-style-type:decimal;outline:none;overflow-anchor:auto;padding-left:4px;"><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);box-sizing:border-box;color:rgba(0, 0, 0, 0.85) !important;font-size:16px;font-weight:400;line-height:28px;margin-bottom:0px;margin-top:0px;outline:none;overflow-anchor:auto;"><strong style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);box-sizing:border-box;color:rgb(0, 0, 0) !important;font-size:16px;line-height:28px;outline:none;overflow-anchor:auto;">NSIS 安裝包(.exe)</strong></div><ul class="auto-hide-last-sibling-br" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);box-sizing:border-box;margin-bottom:0px;margin-top:4px !important;outline:none;overflow-anchor:auto;padding-left:20px !important;"><li style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);box-sizing:border-box;color:rgba(0, 0, 0, 0.85) !important;font-size:16px;font-weight:400;line-height:28px;list-style-type:circle;margin-top:4px;outline:none;overflow-anchor:auto;padding-left:4px;">最常用的格式,支持自定義安裝路徑、創(chuàng)建桌面快捷方式、添加卸載程序等,適合普通用戶安裝。</li><li style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);box-sizing:border-box;color:rgba(0, 0, 0, 0.85) !important;font-size:16px;font-weight:400;line-height:28px;list-style-type:circle;margin-top:4px;outline:none;overflow-anchor:auto;padding-left:4px;">基于 NSIS(Nullsoft Scriptable Install System)腳本,可通過(guò)配置文件自定義安裝流程。</li></ul></li></ol><h4 class="header-vfC6AV auto-hide-last-sibling-br" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);box-sizing:border-box;color:rgb(0, 0, 0);font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;letter-spacing:normal;line-height:28px;margin-bottom:8px !important;margin-top:24px;orphans:2;outline:none;overflow-anchor:auto;padding-bottom:0px !important;text-align:start;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><strong>三、基本打包步驟</strong></h4><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);box-sizing:border-box;color:rgba(0, 0, 0, 0.85);font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-weight:400;letter-spacing:normal;line-height:28px;margin-bottom:0px;margin-top:0px;orphans:2;outline:none;overflow-anchor:auto;text-align:left;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><strong style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);box-sizing:border-box;color:rgb(0, 0, 0) !important;font-size:16px;line-height:28px;outline:none;overflow-anchor:auto;">安裝依賴</strong></div><div class="relative w-fit custom-code-block-canvas-wrapper w-full" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);box-sizing:border-box;color:rgba(0, 0, 0, 0.85);font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-weight:400;letter-spacing:normal;orphans:2;outline:none;overflow-anchor:auto;position:relative;text-align:left;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;width:670.797px;word-spacing:0px;"><div class="code-block-element-YDlfvc light custom-code-block-container--bash hide-indicator disable-theme-style custom-code-block-container" style="--chat-md-codeblock-bg-color:#f9fafb;--chat-md-codeblock-header-bg-color:#f3f4f6;--code-area-bg-color:#f9fafb;--code-area-radius-inner:calc(6px - 1px);--code-area-radius:6px;--code-block-code-color:#000000d9;--code-block-std-bg-color:#f3f4f6;--code-block-std-err-color:#d60000;--code-header-bg-color:#f3f4f6;--code-header-icon-bg-color:rgba(0,0,0,.06);--code-header-icon-color:rgba(0,0,0,.5);--code-header-text-color:rgba(0,0,0,.85);--code-mask-bg-color:linear-gradient(180deg,rgba(249,250,251,0),#f9fafb);--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);box-sizing:border-box;display:flex;flex-direction:column;margin-top:8px;outline:none;overflow-anchor:auto;position:relative;"><div class="code-area-tZtDgG code-area" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);background:none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251);border-radius:6px;box-sizing:border-box;display:flex;flex-direction:column;height:fit-content;outline:none;overflow-anchor:auto;width:670.797px;" dir="ltr"><div class="header-wrapper-UnnlXS" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);background-color:rgb(249, 250, 251);box-sizing:border-box;outline:none;overflow-anchor:auto;position:sticky;top:0px;"><div class="header-cGu84a" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);align-items:center;background:none 0% 0% / auto repeat scroll padding-box border-box rgb(243, 244, 246);border-color:rgba(0, 0, 0, 0.08);border-image:none 100% / 1 / 0 stretch;border-radius:5px 5px 0px 0px;border-style:solid;border-width:1px 1px 0px;box-sizing:border-box;display:flex;flex-direction:row;flex-shrink:0;font-family:Menlo, Monaco, Consolas, "Courier New", monospace;font-size:12px;height:32px;justify-content:space-between;outline:none;overflow-anchor:auto;padding:6px 9px 6px 6px;"><div class="title-XQhI4x clickable-eGISjP" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);align-items:center;border-radius:4px;box-sizing:border-box;color:rgba(0, 0, 0, 0.5);cursor:pointer;display:flex;flex-direction:row;gap:3px;outline:none;overflow-anchor:auto;padding:0px 4px 0px 10px;" tabindex="0" aria-describedby="zqy22gb" data-popupid="zqy22gb"><div class="text-jgT4jF" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);align-items:center;box-sizing:border-box;color:rgba(0, 0, 0, 0.85);display:flex;font-family:"PingFang SC";font-size:14px;font-weight:500;gap:3px;line-height:22px;outline:none;overflow-anchor:auto;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;">bash</div><div class="icon-FIfuuc" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);align-items:center;box-sizing:border-box;display:flex;height:20px;justify-content:center;outline:none;overflow-anchor:auto;position:relative;width:15px;"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="none" viewbox="0 0 24 24"><path fill="currentColor" d="M21.707 17.293a1 1 0 0 1-1.414 0L12 9l-8.293 8.293a1 1 0 0 1-1.414-1.414l8.293-8.293a2 2 0 0 1 2.828 0l8.293 8.293a1 1 0 0 1 0 1.414"></path></svg></div></div><div class="action-tEcs3i" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);align-items:center;box-sizing:border-box;color:rgba(0, 0, 0, 0.5);cursor:pointer;display:flex;flex-direction:row;gap:8px;justify-content:space-between;outline:none;overflow-anchor:auto;"><div class="hoverable-sPLxOT" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);align-items:center;box-sizing:border-box;display:flex;height:20px;justify-content:center;outline:none;overflow-anchor:auto;position:relative;width:20px;" data-testid="code-block-copy" tabindex="0" aria-describedby="duz2fyr" data-popupid="duz2fyr"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="none" viewbox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M21 3.5V17a2 2 0 0 1-2 2h-2v-2h2V3.5H9v2h5.857c1.184 0 2.143.895 2.143 2v13c0 1.105-.96 2-2.143 2H5.143C3.959 22.5 3 21.605 3 20.5v-13c0-1.105.96-2 2.143-2H7v-2a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2m-6.143 4H5.143v13h9.714z" clip-rule="evenodd"></path></svg></div><div class="hoverable-sPLxOT" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);align-items:center;box-sizing:border-box;display:flex;height:20px;justify-content:center;outline:none;overflow-anchor:auto;position:relative;width:20px;" tabindex="0" aria-describedby="d3b3okp" data-popupid="d3b3okp"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="none" viewbox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M4 4a1 1 0 0 1 1 1v3a3 3 0 0 0 3 3h11.086l-5.293-5.293a1 1 0 0 1 1.414-1.414l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L19.086 13H8a5 5 0 0 1-5-5V5a1 1 0 0 1 1-1" clip-rule="evenodd"></path></svg></div><div class="hoverable-sPLxOT" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);align-items:center;box-sizing:border-box;display:flex;height:20px;justify-content:center;outline:none;overflow-anchor:auto;position:relative;width:20px;" tabindex="0" aria-describedby="fem7rp5" data-popupid="fem7rp5"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="none" viewbox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M4.797 16.856a8.28 8.28 0 0 0 6.27 2.87h.008A8.28 8.28 0 0 0 14.372 3.84a11.6 11.6 0 0 1-1.658 7.714 11.62 11.62 0 0 1-7.917 5.303M13.415 1.43a10.28 10.28 0 0 1-2.348 20.296 10.28 10.28 0 0 1-8.883-5.103c-.397-.74.155-1.605.912-1.609a9.617 9.617 0 0 0 9.011-12.258 1.093 1.093 0 0 1 1.308-1.326" clip-rule="evenodd"></path></svg></div><div class="hoverable-sPLxOT" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);align-items:center;box-sizing:border-box;display:flex;height:20px;justify-content:center;outline:none;overflow-anchor:auto;position:relative;width:20px;" tabindex="0" aria-describedby="qcu4dwh" data-popupid="qcu4dwh"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="none" viewbox="0 0 24 24"><path fill="currentColor" d="M22 3v7a1 1 0 1 1-2 0V4h-6a1 1 0 1 1 0-2h7a1 1 0 0 1 1 1M11.005 21a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-7a1 1 0 0 1 2.002 0v6h6.003a1 1 0 0 1 1 1"></path></svg></div></div></div></div><div class="content-EGRozu code-content light-scrollbar-TbsSwi max-h-325" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);background:none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251);border-color:rgba(0, 0, 0, 0.08);border-radius:0px 0px 5px 5px;border-style:solid;border-width:0px 1px 1px;box-sizing:border-box;flex-shrink:0;height:fit-content;max-height:325px;outline:none;overflow-anchor:auto;overflow:overlay;padding:12px 16px 16px;"><pre class="container-_HmLba language-bash" style="--code-Link_v3:#2f74ff;--code-attributes_v3:#c70;--code-doc_v3:#00000073;--code-function_v3:#ff5d4d;--code-keycontrol_v3:#9952e1;--code-number_v3:#e54595;--code-parameter_v3:#4da621;--code-selection-bg-color:#a9d6ff;--code-text_v3:#000000d9;--code-variable_v3:#000000d9;--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);background:none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);border-radius:6px;box-sizing:border-box;color:rgb(0, 0, 0);font-family:ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;font-size:13.6px;hyphens:none;line-height:1.5;margin:0px;outline:none;overflow-anchor:auto;overflow-wrap:normal;overflow:auto;padding:0px;tab-size:4;white-space:pre;width:fit-content;word-break:normal;word-spacing:normal;"><code class="language-plaintext language-bash" style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);background:transparent;border-radius:4px;box-sizing:border-box;color:rgba(0, 0, 0, 0.85);font-family:Menlo, Monaco, Consolas, "Courier New", monospace;font-size:13px;hyphens:none;line-height:1.5;outline:none;overflow-anchor:auto;overflow-wrap:normal;tab-size:4;white-space:pre;word-break:normal;word-spacing:normal;">
npm install electron-builder --save-dev
</code></pre></div></div></div></div><p><strong style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);box-sizing:border-box;color:rgb(0, 0, 0) !important;font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;letter-spacing:normal;line-height:28px;orphans:2;outline:none;overflow-anchor:auto;text-align:left;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;">配置 package.json</strong><br /><span style="-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);color:rgba(0, 0, 0, 0.85);display:inline !important;float:none;font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-weight:400;letter-spacing:normal;orphans:2;text-align:left;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;">在 </span><code style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-text-stroke-width:0px;background:none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06);border-radius:4px;box-sizing:border-box;color:rgba(0, 0, 0, 0.85);font-family:Menlo, Monaco, Consolas, "Courier New", monospace;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-weight:400;letter-spacing:normal;line-height:28px;orphans:2;outline:none;overflow-anchor:auto;text-align:left;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;">package.json</code><span style="-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);color:rgba(0, 0, 0, 0.85);display:inline !important;float:none;font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-weight:400;letter-spacing:normal;orphans:2;text-align:left;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"> 中添加打包配置(</span><code style="--tw-rotate:0;--tw-scale-x:1;--tw-scale-y:1;--tw-skew-x:0;--tw-skew-y:0;--tw-translate-y:0;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-text-stroke-width:0px;background:none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06);border-radius:4px;box-sizing:border-box;color:rgba(0, 0, 0, 0.85);font-family:Menlo, Monaco, Consolas, "Courier New", monospace;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-weight:400;letter-spacing:normal;line-height:28px;orphans:2;outline:none;overflow-anchor:auto;text-align:left;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;">build</code><span style="-webkit-text-stroke-width:0px;background-color:rgb(249, 250, 251);color:rgba(0, 0, 0, 0.85);display:inline !important;float:none;font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-weight:400;letter-spacing:normal;orphans:2;text-align:left;text-decoration-color:initial;text-decoration-style:initial;text-decoration-thickness:initial;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"> 字段),指定 Windows 相關(guān)參數(shù):</span></p><div style="background-color:#211d25;color:#ffffff;font-family:Consolas, 'Courier New', monospace;font-size:16px;font-weight:normal;line-height:22px;white-space:pre;"><div><span style="color:#ffffff;">{</span></div><div><span style="color:#808aff;">? </span><span style="color:#e2d3fe;">"name"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"examination-system"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? </span><span style="color:#e2d3fe;">"version"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"1.0.0"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? </span><span style="color:#e2d3fe;">"description"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"***"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? </span><span style="color:#e2d3fe;">"main"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"main.js"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? </span><span style="color:#e2d3fe;">"type"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"commonjs"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? </span><span style="color:#e2d3fe;">"homepage"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"http://m.shikeng.cn/"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? </span><span style="color:#e2d3fe;">"author"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"***"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? </span><span style="color:#e2d3fe;">"scripts"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#ffffff;">{</span></div><div><span style="color:#808aff;">? ??</span><span style="color:#e2d3fe;">"dev"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"electron ."</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ??</span><span style="color:#e2d3fe;">"build:linux"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"electron-builder --linux"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ??</span><span style="color:#e2d3fe;">"build:win"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"electron-builder --win"</span></div><div><span style="color:#808aff;">? </span><span style="color:#ffffff;">},</span></div><div><span style="color:#808aff;">? </span><span style="color:#e2d3fe;">"devDependencies"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#ffffff;">{</span></div><div><span style="color:#808aff;">? ??</span><span style="color:#e2d3fe;">"electron"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"^37.2.1"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ??</span><span style="color:#e2d3fe;">"electron-builder"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"^26.0.12"</span></div><div><span style="color:#808aff;">? </span><span style="color:#ffffff;">},</span></div><div><span style="color:#808aff;">? </span><span style="color:#e2d3fe;">"build"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#ffffff;">{</span></div><div><span style="color:#808aff;">? ??</span><span style="color:#e2d3fe;">"appId"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"ynqkjd.com.examination-system"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ??</span><span style="color:#e2d3fe;">"copyright"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"Copyright ? 2025 ${author}"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ??</span><span style="color:#e2d3fe;">"linux"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#ffffff;">{</span></div><div><span style="color:#808aff;">? ? ??</span><span style="color:#e2d3fe;">"category"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"Utility"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ? ??</span><span style="color:#e2d3fe;">"target"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#ffffff;">[</span></div><div><span style="color:#808aff;">? ? ? ??</span><span style="color:#ffffff;">{</span></div><div><span style="color:#808aff;">? ? ? ? ??</span><span style="color:#e2d3fe;">"target"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"deb"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ? ? ? ??</span><span style="color:#e2d3fe;">"arch"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#ffffff;">[</span><span style="color:#80ffb5;">"x64"</span><span style="color:#ffffff;">,</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"arm64"</span><span style="color:#ffffff;">]</span></div><div><span style="color:#808aff;">? ? ? ??</span><span style="color:#ffffff;">}</span></div><div><span style="color:#808aff;">? ? ??</span><span style="color:#ffffff;">],</span></div><div><span style="color:#808aff;">? ? ??</span><span style="color:#e2d3fe;">"maintainer"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"***"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ? ??</span><span style="color:#e2d3fe;">"icon"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"icons/"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ? ??</span><span style="color:#e2d3fe;">"desktop"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#ffffff;">{</span></div><div><span style="color:#808aff;">? ? ? ??</span><span style="color:#e2d3fe;">"entry"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#ffffff;">{</span></div><div><span style="color:#808aff;">? ? ? ? ??</span><span style="color:#e2d3fe;">"Name"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"***"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ? ? ? ??</span><span style="color:#e2d3fe;">"Comment"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"***"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ? ? ? ??</span><span style="color:#e2d3fe;">"Keywords"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"***"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ? ? ? ??</span><span style="color:#e2d3fe;">"Terminal"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"false"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ? ? ? ??</span><span style="color:#e2d3fe;">"Icon"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"***"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ? ? ? ??</span><span style="color:#e2d3fe;">"Type"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"Application"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ? ? ? ??</span><span style="color:#e2d3fe;">"Categories"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"Utility;Examination;"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ? ? ? ??</span><span style="color:#e2d3fe;">"StartupWMClass"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"***"</span></div><div><span style="color:#808aff;">? ? ? ??</span><span style="color:#ffffff;">}</span></div><div><span style="color:#808aff;">? ? ??</span><span style="color:#ffffff;">}</span></div><div><span style="color:#808aff;">? ??</span><span style="color:#ffffff;">},</span></div><div><span style="color:#808aff;">? ??</span><span style="color:#e2d3fe;">"win"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#ffffff;">{</span></div><div><span style="color:#808aff;">? ? ??</span><span style="color:#e2d3fe;">"target"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#ffffff;">[</span></div><div><span style="color:#808aff;">? ? ? ??</span><span style="color:#ffffff;">{</span></div><div><span style="color:#808aff;">? ? ? ? ??</span><span style="color:#e2d3fe;">"target"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"nsis"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ? ? ? ??</span><span style="color:#e2d3fe;">"arch"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#ffffff;">[</span></div><div><span style="color:#808aff;">? ? ? ? ? ??</span><span style="color:#80ffb5;">"ia32"</span></div><div><span style="color:#808aff;">? ? ? ? ??</span><span style="color:#ffffff;">]</span></div><div><span style="color:#808aff;">? ? ? ??</span><span style="color:#ffffff;">}</span></div><div><span style="color:#808aff;">? ? ??</span><span style="color:#ffffff;">],</span></div><div><span style="color:#808aff;">? ? ??</span><span style="color:#e2d3fe;">"icon"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"win/winIcon/win.ico"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ? ??</span><span style="color:#e2d3fe;">"artifactName"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"${productName}_v${version}_${arch}.${ext}"</span></div><div><span style="color:#808aff;">? ??</span><span style="color:#ffffff;">},</span></div><div><span style="color:#808aff;">? ??</span><span style="color:#e2d3fe;">"nsis"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#ffffff;">{</span></div><div><span style="color:#808aff;">? ? ??</span><span style="color:#e2d3fe;">"include"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"installer.nsi"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ? ??</span><span style="color:#e2d3fe;">"oneClick"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> false</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ? ??</span><span style="color:#e2d3fe;">"allowToChangeInstallationDirectory"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> true</span></div><div><span style="color:#808aff;">? ??</span><span style="color:#ffffff;">}</span></div><div><span style="color:#808aff;">? </span><span style="color:#ffffff;">},</span></div><div><span style="color:#808aff;">? </span><span style="color:#e2d3fe;">"dependencies"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#ffffff;">{</span></div><div><span style="color:#808aff;">? ??</span><span style="color:#e2d3fe;">"serve-static"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"^2.2.0"</span><span style="color:#ffffff;">,</span></div><div><span style="color:#808aff;">? ??</span><span style="color:#e2d3fe;">"winston"</span><span style="color:#ffffff;">:</span><span style="color:#808aff;"> </span><span style="color:#80ffb5;">"^3.17.0"</span></div><div><span style="color:#808aff;">? </span><span style="color:#ffffff;">}</span></div><div><span style="color:#ffffff;">}</span></div></div></div>
<!-- END OUTPUT from 'themes/gavias_meipaly/templates/field.html.twig' -->
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'field' -->
<!-- FILE NAME SUGGESTIONS:
* field--field-knowledge-epository-catego--rss.html.twig
* field--node--field-knowledge-epository-catego--knowledge-epository.html.twig
* field--node--field-knowledge-epository-catego.html.twig
* field--node--knowledge-epository.html.twig
* field--field-knowledge-epository-catego.html.twig
* field--entity-reference.html.twig
x field.html.twig
-->
<!-- BEGIN OUTPUT from 'themes/gavias_meipaly/templates/field.html.twig' -->
<div class="field field--name-field-knowledge-epository-catego field--type-entity-reference field--label-above">
<div class="field__label">知識(shí)分類</div>
<div class="field__item"><a href="/taxonomy/term/21" hreflang="en">軟件開(kāi)發(fā)</a></div>
</div>
<!-- END OUTPUT from 'themes/gavias_meipaly/templates/field.html.twig' -->
Tue, 05 Aug 2025 03:31:02 +0000
ynqkjdcom
169 at http://m.shikeng.cn