From f422dbd3dbcf44fff75240b3587e1ffe0729b427 Mon Sep 17 00:00:00 2001 From: antelle Date: Sun, 10 May 2020 16:48:58 +0200 Subject: [PATCH] fixed variable name --- Gruntfile.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index d914d269..61f864da 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -29,7 +29,7 @@ module.exports = function(grunt) { const zipCommentPlaceholder = zipCommentPlaceholderPart + '.'.repeat(512 - zipCommentPlaceholderPart.length); const electronVersion = pkg.dependencies.electron.replace(/^\D/, ''); - const getCodeSingConfig = () => require('./keys/codesign.json'); + const getCodeSignConfig = () => require('./keys/codesign.json'); const webpackOptions = { date, @@ -308,7 +308,7 @@ module.exports = function(grunt) { extendInfo: 'package/osx/extend.plist', osxSign: { get identity() { - return getCodeSingConfig().identities.app; + return getCodeSignConfig().identities.app; }, hardenedRuntime: true, entitlements: 'package/osx/entitlements.mac.plist', @@ -317,11 +317,11 @@ module.exports = function(grunt) { }, osxNotarize: { get appleId() { - return getCodeSingConfig().appleId; + return getCodeSignConfig().appleId; }, appleIdPassword: '@keychain:AC_PASSWORD', get ascProvider() { - return getCodeSingConfig().teamId; + return getCodeSignConfig().teamId; } }, afterCopy: [ @@ -585,10 +585,10 @@ module.exports = function(grunt) { options: { url: pkg.homepage, get windows() { - return getCodeSingConfig().windows; + return getCodeSignConfig().windows; }, get certHash() { - return getCodeSingConfig().microsoftCertHash; + return getCodeSignConfig().microsoftCertHash; } }, 'win32-build-x64': {