π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix desktop Electron install
Manav Rathic650e5b0cd5a
diff --git a/desktop/docs/dependencies.md b/desktop/docs/dependencies.mdindex 912da8e0b2..562b08a769 100644--- a/desktop/docs/dependencies.md+++ b/desktop/docs/dependencies.md@@ -61,6 +61,8 @@ Some extra ones specific to the code here are:- We don't need `ajv`, but it is a transitive dependency which breaks the build if we let its version be resolved transitively. Taking a direct dependency on it is the easiest workaround for now.+- We override `yauzl` to `^3.3.1` because Electron's installer uses it via `extract-zip`. Older `yauzl` versions can stop extraction on Node 24.16, leaving Electron without `path.txt` and making `electron .` fail. Remove the override once Electron or `extract-zip` no longer resolve to the affected `yauzl` version.+## Functionality### Format conversiondiff --git a/desktop/package-lock.json b/desktop/package-lock.jsonindex 32bd11c5c2..bc3de4b53f 100644--- a/desktop/package-lock.json+++ b/desktop/package-lock.json@@ -4077,16 +4077,6 @@"reusify": "^1.0.4"}},- "node_modules/fd-slicer": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",- "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==",- "dev": true,- "license": "MIT",- "dependencies": {- "pend": "~1.2.0"- }- },"node_modules/ffmpeg-static": {"version": "5.2.0","resolved": "https://registry.npmjs.org/ffmpeg-static/-/ffmpeg-static-5.2.0.tgz",@@ -7613,14 +7603,17 @@}},"node_modules/yauzl": {- "version": "2.10.0",- "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",- "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==",+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-3.3.1.tgz",+ "integrity": "sha512-RNPCUkiE/ZgO4w8i9U5yDQVHaFDdnzaFANElRvpJteCspvmv2VqrRb9lvS6odVD+jqI/zDsxAHJVsafpcheVQQ==","dev": true,"license": "MIT","dependencies": {"buffer-crc32": "~0.2.3",- "fd-slicer": "~1.1.0"+ "pend": "~1.2.0"+ },+ "engines": {+ "node": ">=12"}},"node_modules/yocto-queue": {diff --git a/desktop/package.json b/desktop/package.jsonindex e198568edc..77b20f51d9 100644--- a/desktop/package.json+++ b/desktop/package.json@@ -21,6 +21,9 @@"lint:fix": "prettier --write --log-level warn . && eslint && tsc","prepare": "node scripts/vips.js"},+ "overrides": {+ "yauzl": "^3.3.1"+ },"dependencies": {"any-shell-escape": "0.1.1","auto-launch": "5.0.6",