From 0337d7719e78dee0cc8c75e2477c2ddca79de519 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Wed, 17 Jun 2015 23:11:25 -0700 Subject: [PATCH] Add support for signing windows installers --- Gruntfile.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 5958dd45..163cabf0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -18,6 +18,9 @@ module.exports = function (grunt) { env.NODE_PATH = '..:' + env.NODE_PATH; env.NODE_ENV = target; + var certificateFile = grunt.option('certificate'); + var certificatePassword = grunt.option('password'); + var version = function (str) { var match = str.match(/(\d+\.\d+\.\d+)/); return match ? match[1] : null; @@ -107,7 +110,9 @@ module.exports = function (grunt) { setupIcon: 'util/kitematic.ico', description: 'Kitematic', title: 'Kitematic', - version: packagejson.version + version: packagejson.version, + certificateFile: certificateFile, + certificatePassword: certificatePassword }, // docker binaries