name the function the same thing

This commit is contained in:
David Baker 2020-03-06 14:29:11 +00:00
parent da606bcd6d
commit 8cbef5b5e5

View File

@ -2,7 +2,7 @@ const { execFile } = require('child_process');
const path = require('path');
// Loosely based on computeSignToolArgs from app-builder-lib/src/codeSign/windowsCodeSign.ts
function getSigntoolArgs(options, keyContainer, inputFile) {
function computeSignToolArgs(options, keyContainer, inputFile) {
if (process.env.ELECTRON_BUILDER_OFFLINE !== "true") {
const timestampingServiceUrl = options.options.timeStampServer || "http://timestamp.digicert.com";
args.push(options.isNest || options.hash === "sha256" ? "/tr" : "/t", options.isNest || options.hash === "sha256" ? (options.options.rfc3161TimeStampServer || "http://timestamp.comodoca.com/rfc3161") : timestampingServiceUrl);