From c68741e41adc9cf1c980d46aecc139cbe95c6945 Mon Sep 17 00:00:00 2001 From: develar Date: Sat, 17 Mar 2018 12:47:53 +0100 Subject: [PATCH] feat: update linux osslsigncode (ability to sign MSI) and rcedit (1.0) --- packages/electron-builder-lib/src/winPackager.ts | 2 +- packages/electron-builder-lib/src/windowsCodeSign.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/electron-builder-lib/src/winPackager.ts b/packages/electron-builder-lib/src/winPackager.ts index aeab49c28bd..8937f8ccd9e 100644 --- a/packages/electron-builder-lib/src/winPackager.ts +++ b/packages/electron-builder-lib/src/winPackager.ts @@ -323,7 +323,7 @@ export class WinPackager extends PlatformPackager { } const timer = time("wine&sign") - await execWine(path.join(await getSignVendorPath(), "rcedit.exe"), args) + await execWine(path.join(await getSignVendorPath(), `rcedit-${process.arch}.exe`), args) await this.sign(file) timer.end() diff --git a/packages/electron-builder-lib/src/windowsCodeSign.ts b/packages/electron-builder-lib/src/windowsCodeSign.ts index a1fdce3101d..3019209ac8d 100644 --- a/packages/electron-builder-lib/src/windowsCodeSign.ts +++ b/packages/electron-builder-lib/src/windowsCodeSign.ts @@ -14,7 +14,7 @@ import { WinPackager } from "./winPackager" export function getSignVendorPath() { //noinspection SpellCheckingInspection - return getBinFromGithub("winCodeSign", "1.9.0", "cyhO9Mv5MTP2o9dwk/+qs0KvuO9CbDhjEJXA2ujpvhcsk5zmc+zY9iqiWXVzOuibTLYNC3qZiuFlJrrCT2kldw==") + return getBinFromGithub("winCodeSign", "2.0.0", "QT51iAVlWZlKeip3FPc8FHG/HKhCdWR/Wg+cevhrKHQ1d/oHl49EqXgeztO//DrdyN1X+GCvglaHifXnWR5VXQ==") } export type CustomWindowsSign = (configuration: CustomWindowsSignTaskConfiguration) => Promise