signal-desktop/signal-desktop-5.40.1-fix-better-sqlite-ssl-error.patch

11 lines
623 B
Diff

--- Signal-Desktop-5.40.1/package.json.orig 2022-04-25 17:34:46.527032365 +0200
+++ Signal-Desktop-5.40.1/package.json 2022-04-25 17:15:29.038266511 +0200
@@ -14,6 +14,7 @@
"scripts": {
"postinstall": "yarn build:acknowledgments && patch-package && yarn electron:install-app-deps && rimraf node_modules/dtrace-provider",
"postuninstall": "yarn build:acknowledgments",
+ "preinstall": "npm install better-sqlite3@'^7.5.1' --no-save --force",
"start": "electron .",
"generate": "npm-run-all build-protobuf build:esbuild sass get-expire-time copy-and-concat",
"build-release": "yarn run build",