electron-builder Windows 打包证书配置

385 阅读1分钟
"win": {
      "icon": "build/icon.ico",
      "publisherName": "***",
      "certificateFile": "***",
      "certificatePassword": "***",
      "verifyUpdateCodeSignature": false,      
      "signingHashAlgorithms": [
        "sha256"
      ],
      "rfc3161TimeStampServer": "http://timestamp.digicert.com",
      "requestedExecutionLevel": "asInvoker",
      "artifactName": "${name}-v${buildVersion}-${platform}-${arch}.${ext}"
    },

// 签名hash算法 设置成 sha256 rfc3161TimeStampServer 设置成 timestamp.digicert.com 解决证书导入失败的问题