mirror of https://github.com/keeweb/keeweb.git
signtool
This commit is contained in:
parent
c97f45e3e5
commit
912d2b1e0a
|
@ -42,12 +42,13 @@ module.exports = function(grunt) {
|
|||
const taskResult = await runRemoteTask(opt.windows, zipContents);
|
||||
const signedFile = taskResult.file;
|
||||
|
||||
// C:\Program Files (x86)\Windows Kits\10\App Certification Kit\signtool.exe
|
||||
const res = spawnSync('signtool', ['verify', '/pa', '/sha1', opt.certHash, signedFile]);
|
||||
const signtool =
|
||||
'C:\\Program Files (x86)\\Windows Kits\\10\\App Certification Kit\\signtool.exe';
|
||||
const res = spawnSync(signtool, ['verify', '/pa', '/sha1', opt.certHash, signedFile]);
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('res.status', res.status);
|
||||
|
||||
const res2 = spawnSync('signtool', [
|
||||
const res2 = spawnSync(signtool, [
|
||||
'verify',
|
||||
'/pa',
|
||||
'/sha1',
|
||||
|
|
Loading…
Reference in New Issue