wip: attempt to sign uninstaller

This commit is contained in:
Joao Moreno
2018-07-02 11:43:03 +02:00
parent 91e82ed2fe
commit d1fed9e7cf
8 changed files with 208 additions and 165 deletions

View File

@@ -42,7 +42,11 @@ function packageInnoSetup(iss, options, cb) {
keys.forEach(key => assert(typeof definitions[key] === 'string', `Missing value for '${key}' in Inno Setup package step`));
const defs = keys.map(key => `/d${key}=${definitions[key]}`);
const args = [iss].concat(defs);
const args = [
iss,
'/Sesrp="powershell.exe build\tfs\win32\sign.ps1 $f"',
...defs
];
cp.spawn(innoSetupPath, args, { stdio: ['ignore', 'inherit', 'inherit'] })
.on('error', cb)