Merge pull request #473 from janhq/chore/data-plugin-rebuild-darwin-amd64

add rebuild for mac x64
This commit is contained in:
hiento09 2023-10-26 22:54:40 +07:00 committed by GitHub
commit 2a98887625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -6,3 +6,4 @@
- module.ts: Defines the plugin module which would be executed by the main node process. - module.ts: Defines the plugin module which would be executed by the main node process.
- package.json: Defines the plugin metadata. - package.json: Defines the plugin metadata.
- tsconfig.json: Defines the typescript configuration. - tsconfig.json: Defines the typescript configuration.

View File

@ -12,7 +12,7 @@
], ],
"scripts": { "scripts": {
"build": "tsc -b ./config/tsconfig.esm.json && tsc -b ./config/tsconfig.cjs.json && webpack --config webpack.config.js", "build": "tsc -b ./config/tsconfig.esm.json && tsc -b ./config/tsconfig.cjs.json && webpack --config webpack.config.js",
"build:deps": "electron-rebuild -f -w leveldown@5.6.0 --arch=arm64 -v 26.2.1", "build:deps": "electron-rebuild -f -w leveldown@5.6.0 --arch=arm64 -v 26.2.1 && electron-rebuild -f -w leveldown@5.6.0 --arch=x64 -v 26.2.1",
"postinstall": "rimraf *.tgz --glob && npm run build", "postinstall": "rimraf *.tgz --glob && npm run build",
"build:publish": "npm pack && cpx *.tgz ../../electron/core/pre-install" "build:publish": "npm pack && cpx *.tgz ../../electron/core/pre-install"
}, },