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 taskResult = await runRemoteTask(opt.windows, zipContents);
|
||||||
const signedFile = taskResult.file;
|
const signedFile = taskResult.file;
|
||||||
|
|
||||||
// C:\Program Files (x86)\Windows Kits\10\App Certification Kit\signtool.exe
|
const signtool =
|
||||||
const res = spawnSync('signtool', ['verify', '/pa', '/sha1', opt.certHash, signedFile]);
|
'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
|
// eslint-disable-next-line no-console
|
||||||
console.log('res.status', res.status);
|
console.log('res.status', res.status);
|
||||||
|
|
||||||
const res2 = spawnSync('signtool', [
|
const res2 = spawnSync(signtool, [
|
||||||
'verify',
|
'verify',
|
||||||
'/pa',
|
'/pa',
|
||||||
'/sha1',
|
'/sha1',
|
||||||
|
|
Loading…
Reference in New Issue