Skip to content

Commit a67818e

Browse files
authored
fix: add Windows zip to releases and fix Windows architecture switching on release (#2258)
1 parent bd558a8 commit a67818e

4 files changed

Lines changed: 137 additions & 88 deletions

File tree

electron-builder.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@
6161
"win": {
6262
"target": [
6363
"nsis",
64-
"msi"
64+
"msi",
65+
"zip"
6566
],
6667
"icon": "build/icon.ico",
6768
"publisherName": "Sectigo RSA Code Signing CA",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"abort-controller": "^3.0.0",
5555
"electron-dl": "^3.2.1",
5656
"electron-store": "^6.0.1",
57-
"electron-updater": "^4.3.9",
57+
"electron-updater": "^4.6.1",
5858
"i18next": "^20.4.0",
5959
"react": "^17.0.2",
6060
"react-dom": "^17.0.2",
@@ -102,7 +102,7 @@
102102
"conventional-changelog-cli": "^2.1.1",
103103
"convert-svg-to-png": "^0.5.0",
104104
"electron": "^16.0.2",
105-
"electron-builder": "^22.11.7",
105+
"electron-builder": "^22.14.5",
106106
"electron-devtools-installer": "^3.2.0",
107107
"electron-notarize": "^1.1.1",
108108
"eslint": "^7.32.0",

workspaces/desktop-release-action/src/windows.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ import * as core from '@actions/core';
33
import { runElectronBuilder } from './shell';
44

55
export const packOnWindows = async (): Promise<void> => {
6-
await runElectronBuilder(`--ia32 --x64 --win nsis msi`, {
6+
await runElectronBuilder(`--x64 --ia32 --win nsis msi`, {
77
CSC_LINK: core.getInput('win_csc_link'),
88
CSC_KEY_PASSWORD: core.getInput('win_csc_key_password'),
99
});
1010

11-
await runElectronBuilder(`--ia32 --x64 --win appx`);
11+
await runElectronBuilder(`--x64 --ia32 --win appx`, {
12+
CSC_LINK: core.getInput('win_csc_link'),
13+
CSC_KEY_PASSWORD: core.getInput('win_csc_key_password'),
14+
});
1215
};

0 commit comments

Comments
 (0)