From 2f52ce4c712f9c812a86c0e0e1c0be69b2969706 Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Sun, 26 Feb 2023 17:22:30 +0530 Subject: [PATCH] feat: windows codesigning --- packages/bruno-app/src/components/Sidebar/index.js | 2 +- packages/bruno-electron/.gitignore | 3 +++ packages/bruno-electron/electron-builder.yml | 2 ++ packages/bruno-electron/package.json | 2 +- packages/bruno-electron/readme.md | 3 +++ 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/bruno-app/src/components/Sidebar/index.js b/packages/bruno-app/src/components/Sidebar/index.js index 848833fa..9a81940b 100644 --- a/packages/bruno-app/src/components/Sidebar/index.js +++ b/packages/bruno-app/src/components/Sidebar/index.js @@ -117,7 +117,7 @@ const Sidebar = () => { )} -
v0.10.1
+
v0.10.2
diff --git a/packages/bruno-electron/.gitignore b/packages/bruno-electron/.gitignore index 9d103b15..c8441593 100644 --- a/packages/bruno-electron/.gitignore +++ b/packages/bruno-electron/.gitignore @@ -3,6 +3,9 @@ web out .env +// certs +sectigo.* + pnpm-lock.yaml package-lock.json yarn.lock diff --git a/packages/bruno-electron/electron-builder.yml b/packages/bruno-electron/electron-builder.yml index d2e4b156..e7833f49 100644 --- a/packages/bruno-electron/electron-builder.yml +++ b/packages/bruno-electron/electron-builder.yml @@ -33,3 +33,5 @@ linux: win: artifactName: ${name}_${version}_${arch}_win.${ext} icon: resources/icons/png + certificateFile: sectigo.pfx + certificatePassword: "secret" diff --git a/packages/bruno-electron/package.json b/packages/bruno-electron/package.json index 1c79e3e6..36d0107d 100644 --- a/packages/bruno-electron/package.json +++ b/packages/bruno-electron/package.json @@ -1,5 +1,5 @@ { - "version": "0.10.1", + "version": "0.10.2", "name": "bruno", "description": "Opensource API Client", "homepage": "https://www.usebruno.com", diff --git a/packages/bruno-electron/readme.md b/packages/bruno-electron/readme.md index 40d7334b..47e851b6 100644 --- a/packages/bruno-electron/readme.md +++ b/packages/bruno-electron/readme.md @@ -3,4 +3,7 @@ ```bash # electron dev npm start + +# generate pfx file for signing windows build +openssl pkcs12 -export -inkey sectigo.key -in sectigo.pem -out sectigo.pfx ```