fixed variable name

This commit is contained in:
antelle 2020-05-10 16:48:58 +02:00
parent 5125a44170
commit f422dbd3db
No known key found for this signature in database
GPG Key ID: 094A2F2D6136A4EE
1 changed files with 6 additions and 6 deletions

View File

@ -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': {