Skip to content

Commit

Permalink
feat: update linux osslsigncode (ability to sign MSI) and rcedit (1.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
develar committed Mar 17, 2018
1 parent fe7d56c commit c68741e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/electron-builder-lib/src/winPackager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ export class WinPackager extends PlatformPackager<WindowsConfiguration> {
}

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()

Expand Down
2 changes: 1 addition & 1 deletion packages/electron-builder-lib/src/windowsCodeSign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<any>
Expand Down

0 comments on commit c68741e

Please sign in to comment.