diff --git a/plugins/data-plugin/README.md b/plugins/data-plugin/README.md index c2fd319d2..2197d9ad2 100644 --- a/plugins/data-plugin/README.md +++ b/plugins/data-plugin/README.md @@ -6,4 +6,3 @@ - module.ts: Defines the plugin module which would be executed by the main node process. - package.json: Defines the plugin metadata. - tsconfig.json: Defines the typescript configuration. - diff --git a/plugins/data-plugin/package.json b/plugins/data-plugin/package.json index 65e26719a..ebf401479 100644 --- a/plugins/data-plugin/package.json +++ b/plugins/data-plugin/package.json @@ -12,7 +12,7 @@ ], "scripts": { "build": "tsc -b ./config/tsconfig.esm.json && tsc -b ./config/tsconfig.cjs.json && webpack --config webpack.config.js", - "postinstall": "electron-rebuild -f -w leveldown@5.6.0 --arch=arm64 && rimraf *.tgz --glob && npm run build", + "postinstall": "electron-rebuild -f -w leveldown@5.6.0 --arch=arm64 -v 26.2.1 && rimraf *.tgz --glob && npm run build", "build:publish": "npm pack && cpx *.tgz ../../electron/core/pre-install" }, "exports": { @@ -41,6 +41,7 @@ ], "dependencies": { "@janhq/core": "^0.1.7", + "electron": "26.2.1", "electron-rebuild": "^3.2.9", "pouchdb-find": "^8.0.1", "pouchdb-node": "^8.0.1"