Skip to content

Commit 64ab2f3

Browse files
authored
feat: MSI installer (#1734)
* Add MSI build * Add more explicit build configurations * Update dependencies
1 parent 11d3092 commit 64ab2f3

4 files changed

Lines changed: 9691 additions & 9708 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Thumbs.db
44

55
/.vscode
66
/node_modules
7-
/package-lock.json
87

98
/app
109
/dist

electron-builder.json

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,40 @@
6161
},
6262
"win": {
6363
"target": [
64-
"nsis"
64+
"nsis",
65+
"msi"
6566
],
6667
"icon": "build/icon.ico",
67-
"publisherName": "Sectigo RSA Code Signing CA"
68+
"publisherName": "Sectigo RSA Code Signing CA",
69+
"legalTrademarks": "",
70+
"verifyUpdateCodeSignature": true,
71+
"requestedExecutionLevel": "asInvoker",
72+
"signAndEditExecutable": true,
73+
"signDlls": false
6874
},
6975
"nsis": {
7076
"oneClick": false,
7177
"perMachine": false,
7278
"allowElevation": true,
7379
"allowToChangeInstallationDirectory": true,
80+
"installerIcon": "build/installerIcon.ico",
81+
"uninstallerIcon": "build/uninstallerIcon.ico",
82+
"installerSidebar": "build/installerSidebar.bmp",
83+
"uninstallerSidebar": "build/uninstallerSidebar.bmp",
84+
"uninstallDisplayName": "${productName} ${version}",
85+
"include": "build/installer.nsh",
86+
"license": "LICENSE",
87+
"artifactName": "rocketchat-setup-${version}.${ext}",
88+
"deleteAppDataOnUninstall": false,
89+
"displayLanguageSelector": false,
90+
"unicode": true,
91+
"warningsAsErrors": true,
92+
"runAfterFinish": true,
93+
"createDesktopShortcut": "always",
94+
"createStartMenuShortcut": true,
95+
"menuCategory": false
96+
},
97+
"msi": {
7498
"artifactName": "rocketchat-setup-${version}.${ext}"
7599
},
76100
"appx": {

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
"eslint": "eslint src"
3333
},
3434
"dependencies": {
35-
"@bugsnag/js": "^7.3.3",
35+
"@bugsnag/js": "^7.3.5",
3636
"@emotion/core": "^10.0.35",
3737
"@emotion/styled": "^10.0.27",
38-
"@rocket.chat/fuselage": "^0.14.1",
39-
"@rocket.chat/fuselage-hooks": "^0.14.1",
40-
"@rocket.chat/icons": "^0.14.1",
38+
"@rocket.chat/fuselage": "^0.15.1",
39+
"@rocket.chat/fuselage-hooks": "^0.15.1",
40+
"@rocket.chat/icons": "^0.15.1",
4141
"dictionary-de": "^2.0.4",
4242
"dictionary-en": "^3.0.1",
4343
"dictionary-en-gb": "^2.2.2",
@@ -48,12 +48,12 @@
4848
"dictionary-tr": "^1.3.4",
4949
"electron-hunspell": "^1.1.2",
5050
"electron-store": "^6.0.0",
51-
"electron-updater": "^4.3.4",
51+
"electron-updater": "^4.3.5",
5252
"i18next": "^19.7.0",
5353
"node-fetch": "^2.6.0",
5454
"react": "^16.13.1",
5555
"react-dom": "^16.13.1",
56-
"react-i18next": "^11.7.2",
56+
"react-i18next": "^11.7.3",
5757
"react-keyed-flatten-children": "^1.3.0",
5858
"react-redux": "^7.2.1",
5959
"redux": "^4.0.5",
@@ -73,14 +73,14 @@
7373
"@jest-runner/electron": "^3.0.0",
7474
"@rocket.chat/eslint-config": "^0.4.0",
7575
"@rollup/plugin-babel": "^5.2.0",
76-
"@rollup/plugin-commonjs": "^15.0.0",
76+
"@rollup/plugin-commonjs": "^15.1.0",
7777
"@rollup/plugin-json": "^4.1.0",
7878
"@rollup/plugin-node-resolve": "^9.0.0",
7979
"@rollup/plugin-replace": "^2.3.3",
80-
"@rollup/plugin-typescript": "^5.0.2",
80+
"@rollup/plugin-typescript": "^6.0.0",
8181
"@types/electron-devtools-installer": "^2.2.0",
8282
"@types/i18next-node-fs-backend": "^2.1.0",
83-
"@types/jest": "^26.0.10",
83+
"@types/jest": "^26.0.14",
8484
"@types/meteor": "^1.4.49",
8585
"@types/node": "^12",
8686
"@types/node-fetch": "^2.5.7",
@@ -89,27 +89,27 @@
8989
"@types/react-redux": "^7.1.9",
9090
"@types/resize-observer-browser": "^0.1.3",
9191
"@types/rimraf": "^3.0.0",
92-
"@typescript-eslint/eslint-plugin": "^4.0.1",
93-
"@typescript-eslint/parser": "^4.0.1",
92+
"@typescript-eslint/eslint-plugin": "^4.2.0",
93+
"@typescript-eslint/parser": "^4.2.0",
9494
"babel-eslint": "^10.1.0",
9595
"builtin-modules": "^3.1.0",
9696
"chokidar": "^3.4.2",
9797
"conventional-changelog-cli": "^2.1.0",
9898
"convert-svg-to-png": "^0.5.0",
9999
"electron": "^10.0.1",
100-
"electron-builder": "^22.8.0",
100+
"electron-builder": "^22.8.1",
101101
"electron-devtools-installer": "^3.1.1",
102102
"electron-notarize": "^1.0.0",
103103
"eslint": "^7.7.0",
104104
"eslint-plugin-import": "^2.22.0",
105-
"eslint-plugin-react": "^7.20.6",
105+
"eslint-plugin-react": "^7.21.1",
106106
"eslint-plugin-react-hooks": "^4.1.0",
107107
"jest": "^26.4.2",
108108
"npm-run-all": "^4.1.5",
109-
"rollup": "^2.26.6",
109+
"rollup": "^2.28.1",
110110
"rollup-plugin-copy": "^3.3.0",
111-
"ts-jest": "^26.3.0",
112-
"typescript": "^4.0.2",
111+
"ts-jest": "^26.4.0",
112+
"typescript": "^4.0.3",
113113
"xvfb-maybe": "^0.2.1"
114114
},
115115
"engines": {

0 commit comments

Comments
 (0)